Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Complex SUMPRODUCT/VLOOKUP/SUMIF

Hi there, hope someone can help.

I have a summary table within a spreadsheet where I am tracking actual and
forecast spend against individual projects.

I would like to lookup the project id in my detail, sum the corresponding
figures based on whether or not the figures are actuals or forecast figures,
and return actual spend in a cell in my summary table.

An example would be in cell D4, looking up CR111 in the detail (row 18),
summing U:AF based on the row (18) and whether or not the column headers in
U16:AF16 contain an A (for actuals) or F (for forecast).

Hopefully this is clear! If anyone can help I would appreciate it.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Complex SUMPRODUCT/VLOOKUP/SUMIF

Works like a dream! Corrected an ommission in the formula (missed out a comma).

=SUMIF($U$16:$AF$16,$E$4,INDEX($U$18:$AF$100,MATCH ($D4,$T$18:$T$100,0),))

Thanks a lot!

"Roger Govier" wrote:

Hi

One way

Assuming
A or F in cell E4
Code required in D4
Column T contains codes
Block of values extends between U18 and AF100

=SUMIF($U$16:$AF$16,$E$4,INDEX($U$18:$AF$100,MATCH ($D4,$T$18:$T$100,0),))

Adjust ranges to suit.
--
Regards
Roger Govier

"tigger" wrote in message
...
Hi there, hope someone can help.

I have a summary table within a spreadsheet where I am tracking actual and
forecast spend against individual projects.

I would like to lookup the project id in my detail, sum the corresponding
figures based on whether or not the figures are actuals or forecast
figures,
and return actual spend in a cell in my summary table.

An example would be in cell D4, looking up CR111 in the detail (row 18),
summing U:AF based on the row (18) and whether or not the column headers
in
U16:AF16 contain an A (for actuals) or F (for forecast).

Hopefully this is clear! If anyone can help I would appreciate it.

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
complex SUMIF shaqil Excel Worksheet Functions 3 November 12th 07 02:14 PM
Complex SUMIF Evan Excel Discussion (Misc queries) 4 October 18th 07 11:20 PM
VLOOKUP, SUMPRODUCT, or SUMIF? steph Excel Worksheet Functions 5 March 28th 07 04:26 PM
Which SumProduct Sumif or VLookup? Dennis Excel Discussion (Misc queries) 2 September 26th 05 06:05 PM
I've tried Sumproduct, SumIf, Vlookup and Hlookup. Steved Excel Worksheet Functions 5 July 19th 05 11:46 PM


All times are GMT +1. The time now is 08:54 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"