Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
rusty24
 
Posts: n/a
Default Summing using VLOOKUP

I have various line items and a few totals (that are capitalized) below
the items. The data is in various tabs. I want to total the Capitalized
items only. It would be great if someone could help.

Thanks.

p.s. the data is in this form:
A B
52000-0001 Salaries-general 1,212,122
52000-0002 Salaries-overtime 5,650
52050-0000 Student help -1,932
52060-0000 Temp help 13,046
52900-0000 Reserve-micp -138,458
TOTAL SALARIES 1,004,723

The above data is replicated across various tabs. I just want a total
of the TOTAL SALARIES, in a new Totals tab.

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Summing using VLOOKUP

=SUMPRODUCT(SUMIF(INDIRECT("'"&C1:C3&"'!a2:a20"),
"*TOTAL*",(INDIRECT("'"&C1:C3&"'!b2:b20"))))

where C1:C3 is a range housing the relevant sheetnames in
separate cells.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"rusty24" wrote in message
oups.com...
I have various line items and a few totals (that are capitalized) below
the items. The data is in various tabs. I want to total the Capitalized
items only. It would be great if someone could help.

Thanks.

p.s. the data is in this form:
A B
52000-0001 Salaries-general 1,212,122
52000-0002 Salaries-overtime 5,650
52050-0000 Student help -1,932
52060-0000 Temp help 13,046
52900-0000 Reserve-micp -138,458
TOTAL SALARIES 1,004,723

The above data is replicated across various tabs. I just want a total
of the TOTAL SALARIES, in a new Totals tab.



  #3   Report Post  
Posted to microsoft.public.excel.misc
rusty24
 
Posts: n/a
Default Summing using VLOOKUP

Bob,

I am not able to get the desired output. The TOTAL SALARIES line item
has just the hard coded totals, and not all the capitalized items are
sums, e.g. EBIT which is EBITDA less Depreciation. I suppose I will
have to use VLOOKUP. I was just wondering if I can total the VLOOKUP
results that I get across various tabs, by writing just one formula.

Thanks,

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
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


All times are GMT +1. The time now is 11:18 PM.

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

About Us

"It's about Microsoft Excel"