Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
nikita76's Avatar
 
Join Date: Mar 2004
Location: Long Island, NY
Posts: 732
Excel spreadsheet question to the Braintrust!

Happy Father's Day everyone!

I have an Excel spreadsheet question that I'm hoping someone can help me with!

I have 2 spreadsheets, with 500 names and times on each. Some names are on both, one or the other. There are age groups, times and points associated with each name. How do I combine the 2 spreadsheets to calculate total points for each person?

Manually?

Thanks!

NRD

__________________
1971 Volvo 142 (Fiona)
2004 BMW 525i (Ginger)
1973 BMW 3.0cs Bat Mobile resto (Gilligan)
1974 BMW 3.0cs (Penelope)
2004 Chevy Astro Van (The Skipper)
Old 06-15-2014, 01:49 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
Join Date: Dec 2012
Location: Seattle
Posts: 8,943
Pivot table should do it. You will need to combine both sheets to sum by name on the pivot.
__________________
1982 911 Targa, 3.0L ROW with Webers
Old 06-15-2014, 02:22 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Regenerated User
 
72doug2,2S's Avatar
 
Join Date: Jul 2003
Location: FL
Posts: 18,082
Garage
Pivot Table should work, or you create a third page that sums the two together.
The third page consists of all individuals, this is perhaps more than 500?

Assuming your duplicate names are spelled the same.



Sheet1 is your first sheet
Sheet2 is your second sheet
Sheet3 is the combined Sheet1 and Sheet2

On the third sheet copy all the names from sheet1 and sheet2 paste in column A. Use the same titles and sort alphabetical and delete duplicates. Then in column D add this formula and copy down to the last name.

The sumproduct will update the two spreadsheets whether they are open or closed. If you never need to use those other two you can hardcode the new spreadsheet.

=SUMPRODUCT(--(TRIM(Sheet1!$A$1:$A$600)=TRIM(Sheet3!$A3)),--(Sheet1!$A$1:$A$600<>""),Sheet1!$D$1:$D$600)+SUMPRODUCT(--(TRIM(Sheet2!$A$1:$A$600)=TRIM(Sheet3!$A3)),--(Sheet2!$A$1:$A$600<>""),Sheet2!$D$1:$D$600)

__________________
My uncle has a country place, that no one knows about. He said it used to be a farm, before the motor law.
'72 911T 2,2S motor
'76 BMW 2002
Old 06-15-2014, 02:54 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Registered
 
nikita76's Avatar
 
Join Date: Mar 2004
Location: Long Island, NY
Posts: 732
Thanks for your help guys!

I need to show time, points from first race AND time and points from second race, followed by total points in the last column.

Thanks,

NRD
__________________
1971 Volvo 142 (Fiona)
2004 BMW 525i (Ginger)
1973 BMW 3.0cs Bat Mobile resto (Gilligan)
1974 BMW 3.0cs (Penelope)
2004 Chevy Astro Van (The Skipper)
Old 06-15-2014, 04:55 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,318
Convert to csv file and use cat, sed, cut, and echo to create a new csv file that can be loaded into a proper database as SQL statements. Then use whatever programming language you like to connect to the db, run queries, and generate reports. Since this looks like it is for club use I'd use php and put it on the web as well
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 06-15-2014, 05:19 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Registered
 
nikita76's Avatar
 
Join Date: Mar 2004
Location: Long Island, NY
Posts: 732
Thanks id10t....unfortunately, half of that makes sense to me. What would a contractors rate be for a job like this? 45-60 minutes tops for someone that knows the procedure right?

NRD
__________________
1971 Volvo 142 (Fiona)
2004 BMW 525i (Ginger)
1973 BMW 3.0cs Bat Mobile resto (Gilligan)
1974 BMW 3.0cs (Penelope)
2004 Chevy Astro Van (The Skipper)
Old 06-15-2014, 06:02 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Registered
 
Shaun @ Tru6's Avatar
 
Join Date: Dec 2001
Location: Cambridge, MA
Posts: 44,275
I think a pivot table will work for you Nikita. Here's what our order entry system spits out to let me create production orders. I have Sizes per SKUs per Store. You have Times of Races per Person. Pretty fuzzy but I think you can see it.

__________________
Tru6 Restoration & Design
Old 06-15-2014, 06:20 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Regenerated User
 
72doug2,2S's Avatar
 
Join Date: Jul 2003
Location: FL
Posts: 18,082
Garage
Quote:
Originally Posted by nikita76 View Post
Thanks for your help guys!

I need to show time, points from first race AND time and points from second race, followed by total points in the last column.

Thanks,

NRD
So one spreadsheet is the first race and one is the second?
__________________
My uncle has a country place, that no one knows about. He said it used to be a farm, before the motor law.
'72 911T 2,2S motor
'76 BMW 2002
Old 06-15-2014, 06:30 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Regenerated User
 
72doug2,2S's Avatar
 
Join Date: Jul 2003
Location: FL
Posts: 18,082
Garage
Update if each sheet is a new race.
Pivot Table should work, but relabel them time 1 and points 1/ time 2 and points 2, or you create a third page that sums the two together.
The third page consists of all individuals, this is perhaps more than 500?

Assuming your duplicate names are spelled the same.



Sheet1 is your first sheet
Sheet2 is your second sheet
Sheet3 is the combined Sheet1 and Sheet2

On the third sheet copy all the names from sheet1 and sheet2 paste in column A. Use the same titles and sort alphabetical and delete duplicates. Then in columns C, D, E, and F add these formulas and copy down to the last name.

The sumproduct will update the two spreadsheets whether they are open or closed. If you never need to use those other two you can hardcode the new spreadsheet.

Cell C3 Time 1
=SUMPRODUCT(--(TRIM(Sheet1!$A$1:$A$600)=TRIM(Sheet3!$A3)),--(Sheet1!$A$1:$A$600<>""),Sheet1!$C$1:$C$600)


Cell D Points 1
=SUMPRODUCT(--(TRIM(Sheet1!$A$1:$A$600)=TRIM(Sheet3!$A3)),--(Sheet1!$A$1:$A$600<>""),Sheet1!$D$1:$D$600)

Cell E Time 2
=SUMPRODUCT(--(TRIM(Sheet2!$A$1:$A$600)=TRIM(Sheet3!$A3)),--(Sheet2!$A$1:$A$600<>""),Sheet2!$C$1:$C$600)

Cell F Points 2
SUMPRODUCT(--(TRIM(Sheet2!$A$1:$A$600)=TRIM(Sheet3!$A3)),--(Sheet2!$A$1:$A$600<>""),Sheet2!$D$1:$D$600)

G3 adds d3+f3



__________________
My uncle has a country place, that no one knows about. He said it used to be a farm, before the motor law.
'72 911T 2,2S motor
'76 BMW 2002

Last edited by 72doug2,2S; 06-15-2014 at 07:18 PM..
Old 06-15-2014, 06:41 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Registered
 
nikita76's Avatar
 
Join Date: Mar 2004
Location: Long Island, NY
Posts: 732
Thanks everybody!

NRD
__________________
1971 Volvo 142 (Fiona)
2004 BMW 525i (Ginger)
1973 BMW 3.0cs Bat Mobile resto (Gilligan)
1974 BMW 3.0cs (Penelope)
2004 Chevy Astro Van (The Skipper)
Old 06-16-2014, 03:02 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
Registered
 
Join Date: Mar 2008
Location: Tulsa, Oklahoma
Posts: 1,079
You could also use the 'sum if' function using the name as the index.
__________________
1983 Porsche 911SC - Arrow Blue lightweight '74 Carrera look
http://forums.pelicanparts.com/porsche-911-technical-forum/498568-overdue-intro-sc-hotrod-project.html
Old 06-16-2014, 03:58 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Regenerated User
 
72doug2,2S's Avatar
 
Join Date: Jul 2003
Location: FL
Posts: 18,082
Garage
Quote:
Originally Posted by kiwiokie View Post
You could also use the 'sum if' function using the name as the index.
But if they are two different spreadsheets you'll need sumproduct to really work.
__________________
My uncle has a country place, that no one knows about. He said it used to be a farm, before the motor law.
'72 911T 2,2S motor
'76 BMW 2002
Old 06-16-2014, 06:11 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
Moderator
 
Don Plumley's Avatar
 
Join Date: Jun 2001
Location: Geyserville, CA
Posts: 6,921
Garage
I would use a simple VLOOKUP - pull the missing data from Sheet 2 into Sheet 1; then paste the results into a new sheet as data (killing the formulas) to prevent subsequent fubars. Let me know if you need an example.
__________________
Don Plumley
M235i
memories: 87 911, 96 993, 13 Cayenne
Old 06-16-2014, 07:09 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Regenerated User
 
72doug2,2S's Avatar
 
Join Date: Jul 2003
Location: FL
Posts: 18,082
Garage
Vlookup would work only if you didn't have duplicates in the data. The Vlookup will only take the first value found.
__________________
My uncle has a country place, that no one knows about. He said it used to be a farm, before the motor law.
'72 911T 2,2S motor
'76 BMW 2002
Old 06-16-2014, 07:31 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
Registered
 
Join Date: Mar 2008
Location: Tulsa, Oklahoma
Posts: 1,079
Quote:
Originally Posted by 72doug2,2S View Post
But if they are two different spreadsheets you'll need sumproduct to really work.
Would make more sense to copy the tabs into one spreadsheet.
__________________
1983 Porsche 911SC - Arrow Blue lightweight '74 Carrera look
http://forums.pelicanparts.com/porsche-911-technical-forum/498568-overdue-intro-sc-hotrod-project.html
Old 06-17-2014, 03:35 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
Regenerated User
 
72doug2,2S's Avatar
 
Join Date: Jul 2003
Location: FL
Posts: 18,082
Garage
I probably would.

__________________
My uncle has a country place, that no one knows about. He said it used to be a farm, before the motor law.
'72 911T 2,2S motor
'76 BMW 2002
Old 06-17-2014, 03:39 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #16 (permalink)
Reply


 


All times are GMT -8. The time now is 10:36 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.