Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default summing results of multiple vloopups

Can anyone help with the following vloopup formula?

=IF(ISNA(VLOOKUP($A4,RANGEA,3,FALSE)),0,VLOOKUP($A 4,RANGEA,3,FALSE))+IF(ISNA(VLOOKUP($A4,RANGEB,3,FA LSE)),0,VLOOKUP($A4,RANGEB,3,FALSE))+IF(ISNA(VLOOK UP($A4,RANGEC,3,FALSE)),0,VLOOKUP($A4,RANGEC,3,FAL SE))

If there is a value in all three ranges it returns the currect amount.

Here are the problems:
- If RANGEA is missing a value it does not add RANGEB and RANGEC.
- It RANGEA and RANGEC are missing values it adds RANGEB to a value from
the cell above.

Any suggestions?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default summing results of multiple vloopups

Nothing wrong with the formula although it might be possible to use SUMIF
instead and save some complexity since you don't have dodge any N/A errors.

Anyway, formula works fine for me regardless if it find anything in the
different tables so maybe you have some "bad" data that isn't what it looks
like it is.

--


Regards,


Peo Sjoblom


"dawnecia" wrote in message
...
Can anyone help with the following vloopup formula?

=IF(ISNA(VLOOKUP($A4,RANGEA,3,FALSE)),0,VLOOKUP($A 4,RANGEA,3,FALSE))+IF(ISNA(VLOOKUP($A4,RANGEB,3,FA LSE)),0,VLOOKUP($A4,RANGEB,3,FALSE))+IF(ISNA(VLOOK UP($A4,RANGEC,3,FALSE)),0,VLOOKUP($A4,RANGEC,3,FAL SE))

If there is a value in all three ranges it returns the currect amount.

Here are the problems:
- If RANGEA is missing a value it does not add RANGEB and RANGEC.
- It RANGEA and RANGEC are missing values it adds RANGEB to a value from
the cell above.

Any suggestions?

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
IF Formulas and Summing Results WilliamsDeLisle Excel Worksheet Functions 7 April 10th 09 02:46 AM
Extract multiple results based on multiple criteria tara657 Excel Worksheet Functions 4 January 24th 09 03:35 AM
summing all results in a vlookup Valerie Excel Worksheet Functions 2 July 30th 07 10:19 PM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
summing lookup results Martyn Excel Discussion (Misc queries) 4 March 2nd 06 09:25 AM


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