PC Review


Reply
Thread Tools Rate Thread

Complex SUMPRODUCT/VLOOKUP/SUMIF

 
 
tigger
Guest
Posts: n/a
 
      28th Aug 2008
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 With Quote
 
 
 
 
tigger
Guest
Posts: n/a
 
      28th Aug 2008
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" <(E-Mail Removed)> wrote in message
> news:7AFE90FE-E1DC-4BC9-8517-(E-Mail Removed)...
> > 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SUMIF inside SUMPRODUCT => complex problem (suite) vsoler Microsoft Excel Worksheet Functions 1 29th Aug 2009 09:37 PM
Using VLOOKUP inside SUMPRODUCT => complex problem vsoler Microsoft Excel Worksheet Functions 3 29th Aug 2009 07:25 PM
VLOOKUP, SUMPRODUCT, or SUMIF? =?Utf-8?B?c3RlcGg=?= Microsoft Excel Worksheet Functions 5 28th Mar 2007 04:26 PM
Help Debug Complex Formula (SUMPRODUCT? SUMIF?) David Lipetz Microsoft Excel Discussion 3 12th Sep 2006 07:16 PM
Which SumProduct Sumif or VLookup? =?Utf-8?B?RGVubmlz?= Microsoft Excel Misc 2 26th Sep 2005 06:05 PM


Features
 

Advertising
 

Newsgroups
 


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