Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default VLookup Question, definite Help - Please?

I have multiple pages that have 65,536 rows, same monsterous spreadsheet,
138-MEG and I need to lookup data from each and have a summary sheet accept
the returned answers: (Please read to the optional method question of
gathering this info.)

Fleet Removal Date Install Date TSI CSI
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189

I need the return vlookup to get me all of the BMWs, then the Fords, etc.,
and just give me an end result of a count of how many of each, but I need the
TSI and CSI fields to also add up and then average that by the like units:

Fleet TSI CSI
76 BMW 7100:03 5,189
81 Ford 3200:03 3,289
66 Chev 4340:03 389
42 Olds 2180:03 429
21 Suzu 550:03 689
91 Hond 21,100:03 18,189

OR....(optional method of gathering info.)

Can I have the entire row/line come into another spreadsheet, by car type,
instead of doing all of the above?

ex:

BMW 06/10/2008 06/10/2005 100:03 189
BMW 06/10/2008 06/10/2002 500:13 489
BMW 06/10/2008 06/10/2005 100:23 189
BMW 06/10/2008 06/10/2001 448:03 389
BMW 06/10/2008 06/10/2007 100:03 189
BMW 06/10/2008 06/10/2004 225:53 389

Can this be done?

Thanks,
Champ


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VLookup Question, definite Help - Please?

In your summary sheet make a list of the car names starting at cell a2. Copy
this macro and run it. If very large you may want to suspend screen updating
and calculation.

Sub sumemeup()
lr = Sheets("summary").Cells(Rows.Count, "a").End(xlUp).Row
For Each c In Sheets("Summary").Range("a2:a" & lr)
For Each ws In ActiveWorkbook.Worksheets
If ws.Name < "Summary" Then
ms = ms + Application. _
SUMIF(ws.Columns("a"), c, ws.Columns("e:e"))
End If
Next ws
c.Offset(, 1) = ms
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Champ" wrote in message
...
I have multiple pages that have 65,536 rows, same monsterous spreadsheet,
138-MEG and I need to lookup data from each and have a summary sheet
accept
the returned answers: (Please read to the optional method question of
gathering this info.)

Fleet Removal Date Install Date TSI CSI
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189

I need the return vlookup to get me all of the BMWs, then the Fords, etc.,
and just give me an end result of a count of how many of each, but I need
the
TSI and CSI fields to also add up and then average that by the like
units:

Fleet TSI CSI
76 BMW 7100:03 5,189
81 Ford 3200:03 3,289
66 Chev 4340:03 389
42 Olds 2180:03 429
21 Suzu 550:03 689
91 Hond 21,100:03 18,189

OR....(optional method of gathering info.)

Can I have the entire row/line come into another spreadsheet, by car type,
instead of doing all of the above?

ex:

BMW 06/10/2008 06/10/2005 100:03 189
BMW 06/10/2008 06/10/2002 500:13 489
BMW 06/10/2008 06/10/2005 100:23 189
BMW 06/10/2008 06/10/2001 448:03 389
BMW 06/10/2008 06/10/2007 100:03 189
BMW 06/10/2008 06/10/2004 225:53 389

Can this be done?

Thanks,
Champ



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default VLookup Question, definite Help - Please?

Thanks Don,

I keep getting an error:

Can't execute in break mode.

I have listed the cars in a sheet, within this ginormous spreadsheet, from
cells A2 through A11.
I want this to look into all 220 sheets/tabs, within this one spreadsheet.
Is that going to freeze the spreadsheet up?
It is 135-Meg large.

Thanks again for your help.
Champ


"Don Guillett" wrote:

In your summary sheet make a list of the car names starting at cell a2. Copy
this macro and run it. If very large you may want to suspend screen updating
and calculation.

Sub sumemeup()
lr = Sheets("summary").Cells(Rows.Count, "a").End(xlUp).Row
For Each c In Sheets("Summary").Range("a2:a" & lr)
For Each ws In ActiveWorkbook.Worksheets
If ws.Name < "Summary" Then
ms = ms + Application. _
SUMIF(ws.Columns("a"), c, ws.Columns("e:e"))
End If
Next ws
c.Offset(, 1) = ms
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Champ" wrote in message
...
I have multiple pages that have 65,536 rows, same monsterous spreadsheet,
138-MEG and I need to lookup data from each and have a summary sheet
accept
the returned answers: (Please read to the optional method question of
gathering this info.)

Fleet Removal Date Install Date TSI CSI
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189

I need the return vlookup to get me all of the BMWs, then the Fords, etc.,
and just give me an end result of a count of how many of each, but I need
the
TSI and CSI fields to also add up and then average that by the like
units:

Fleet TSI CSI
76 BMW 7100:03 5,189
81 Ford 3200:03 3,289
66 Chev 4340:03 389
42 Olds 2180:03 429
21 Suzu 550:03 689
91 Hond 21,100:03 18,189

OR....(optional method of gathering info.)

Can I have the entire row/line come into another spreadsheet, by car type,
instead of doing all of the above?

ex:

BMW 06/10/2008 06/10/2005 100:03 189
BMW 06/10/2008 06/10/2002 500:13 489
BMW 06/10/2008 06/10/2005 100:23 189
BMW 06/10/2008 06/10/2001 448:03 389
BMW 06/10/2008 06/10/2007 100:03 189
BMW 06/10/2008 06/10/2004 225:53 389

Can this be done?

Thanks,
Champ




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VLookup Question, definite Help - Please?


Then goto the vba and unbreak it by clicking on the blue reset square.

Perhaps workbook size does have something to do with it although it should
only be limited by computer memory. I would NEVER design a wb that big. You
are aware that xl2007 has virtually unlimited rows.
What is the TSI column with the hyphen. I don't know what is going on there.

Here is a sample workbook that does work and tries to do the TSI column
also.
Or, you may send me a sample workbook, with only a FEW sheets, to look at.
Where are you and what is this for.
BTW, I am available as a paid consultant/developer.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Champ" wrote in message
...
Thanks Don,

I keep getting an error:

Can't execute in break mode.

I have listed the cars in a sheet, within this ginormous spreadsheet, from
cells A2 through A11.
I want this to look into all 220 sheets/tabs, within this one spreadsheet.
Is that going to freeze the spreadsheet up?
It is 135-Meg large.

Thanks again for your help.
Champ


"Don Guillett" wrote:

In your summary sheet make a list of the car names starting at cell a2.
Copy
this macro and run it. If very large you may want to suspend screen
updating
and calculation.

Sub sumemeup()
lr = Sheets("summary").Cells(Rows.Count, "a").End(xlUp).Row
For Each c In Sheets("Summary").Range("a2:a" & lr)
For Each ws In ActiveWorkbook.Worksheets
If ws.Name < "Summary" Then
ms = ms + Application. _
SUMIF(ws.Columns("a"), c, ws.Columns("e:e"))
End If
Next ws
c.Offset(, 1) = ms
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Champ" wrote in message
...
I have multiple pages that have 65,536 rows, same monsterous
spreadsheet,
138-MEG and I need to lookup data from each and have a summary sheet
accept
the returned answers: (Please read to the optional method question of
gathering this info.)

Fleet Removal Date Install Date TSI CSI
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189

I need the return vlookup to get me all of the BMWs, then the Fords,
etc.,
and just give me an end result of a count of how many of each, but I
need
the
TSI and CSI fields to also add up and then average that by the like
units:

Fleet TSI CSI
76 BMW 7100:03 5,189
81 Ford 3200:03 3,289
66 Chev 4340:03 389
42 Olds 2180:03 429
21 Suzu 550:03 689
91 Hond 21,100:03 18,189

OR....(optional method of gathering info.)

Can I have the entire row/line come into another spreadsheet, by car
type,
instead of doing all of the above?

ex:

BMW 06/10/2008 06/10/2005 100:03 189
BMW 06/10/2008 06/10/2002 500:13 489
BMW 06/10/2008 06/10/2005 100:23 189
BMW 06/10/2008 06/10/2001 448:03 389
BMW 06/10/2008 06/10/2007 100:03 189
BMW 06/10/2008 06/10/2004 225:53 389

Can this be done?

Thanks,
Champ





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VLookup Question, definite Help - Please?

This message was NOT intended for the group. I NEVER attach files.
So sorry.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Champ" wrote in message
...
Thanks Don,

I keep getting an error:

Can't execute in break mode.

I have listed the cars in a sheet, within this ginormous spreadsheet, from
cells A2 through A11.
I want this to look into all 220 sheets/tabs, within this one spreadsheet.
Is that going to freeze the spreadsheet up?
It is 135-Meg large.

Thanks again for your help.
Champ


"Don Guillett" wrote:

In your summary sheet make a list of the car names starting at cell a2.
Copy
this macro and run it. If very large you may want to suspend screen
updating
and calculation.

Sub sumemeup()
lr = Sheets("summary").Cells(Rows.Count, "a").End(xlUp).Row
For Each c In Sheets("Summary").Range("a2:a" & lr)
For Each ws In ActiveWorkbook.Worksheets
If ws.Name < "Summary" Then
ms = ms + Application. _
SUMIF(ws.Columns("a"), c, ws.Columns("e:e"))
End If
Next ws
c.Offset(, 1) = ms
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Champ" wrote in message
...
I have multiple pages that have 65,536 rows, same monsterous
spreadsheet,
138-MEG and I need to lookup data from each and have a summary sheet
accept
the returned answers: (Please read to the optional method question of
gathering this info.)

Fleet Removal Date Install Date TSI CSI
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189
BMW 06/10/2008 06/10/2005 100:03 189
Ford 06/10/2008 06/10/2003 200:03 289
Chev 06/10/2008 06/10/2002 340:03 389
Olds 06/10/2008 06/10/2006 180:03 129
Suzu 06/10/2008 06/10/2007 50:03 89
Hond 06/10/2008 06/10/2001 1,100:03 1189

I need the return vlookup to get me all of the BMWs, then the Fords,
etc.,
and just give me an end result of a count of how many of each, but I
need
the
TSI and CSI fields to also add up and then average that by the like
units:

Fleet TSI CSI
76 BMW 7100:03 5,189
81 Ford 3200:03 3,289
66 Chev 4340:03 389
42 Olds 2180:03 429
21 Suzu 550:03 689
91 Hond 21,100:03 18,189

OR....(optional method of gathering info.)

Can I have the entire row/line come into another spreadsheet, by car
type,
instead of doing all of the above?

ex:

BMW 06/10/2008 06/10/2005 100:03 189
BMW 06/10/2008 06/10/2002 500:13 489
BMW 06/10/2008 06/10/2005 100:23 189
BMW 06/10/2008 06/10/2001 448:03 389
BMW 06/10/2008 06/10/2007 100:03 189
BMW 06/10/2008 06/10/2004 225:53 389

Can this be done?

Thanks,
Champ





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Please VLOOKUP question baz Excel Discussion (Misc queries) 2 February 14th 08 10:35 PM
VLOOKUP Question mjmeyer Excel Worksheet Functions 3 October 24th 07 10:37 PM
Vlookup with IF question dannyrblock Excel Worksheet Functions 0 September 21st 07 07:54 PM
vlookup question Mark Excel Worksheet Functions 2 October 13th 06 05:12 PM
Vlookup question aka_krakur Excel Discussion (Misc queries) 2 July 29th 06 12:17 AM


All times are GMT +1. The time now is 12:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"