Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Using H/VLOOKUP to return multiple values

I am trying to use VLOOKUP to return the sum of corresponding columns to the
reference i search for. for example on wksht 2, i want column B to return the
sum of columns B-F on wksht 1 if the cell in column A (wksht1) is X. I
currently have it set up as such, but i have multiple entries on wksht 1
column A that = X. Is there a way to code "retun the sum of columns B-F if
A=X for all values =X in column A?

I concede this probably sounds confusing, but i am not of a wordsmith mind
at the moment.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default Using H/VLOOKUP to return multiple values

Array formula (validate with Ctrl+Shift+Enter) :
=SUM((Sheet1!A1:A100="x")*Sheet1!B1:F100)
HTH
Daniel

I am trying to use VLOOKUP to return the sum of corresponding columns to the
reference i search for. for example on wksht 2, i want column B to return the
sum of columns B-F on wksht 1 if the cell in column A (wksht1) is X. I
currently have it set up as such, but i have multiple entries on wksht 1
column A that = X. Is there a way to code "retun the sum of columns B-F if
A=X for all values =X in column A?

I concede this probably sounds confusing, but i am not of a wordsmith mind
at the moment.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Using H/VLOOKUP to return multiple values

Perhaps the array* formula:
=SUM(IF(A2:A100="X",B2:F100,0))

*Use Ctrl+Shift+Enter to confirm formula.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Hennessy" wrote:

I am trying to use VLOOKUP to return the sum of corresponding columns to the
reference i search for. for example on wksht 2, i want column B to return the
sum of columns B-F on wksht 1 if the cell in column A (wksht1) is X. I
currently have it set up as such, but i have multiple entries on wksht 1
column A that = X. Is there a way to code "retun the sum of columns B-F if
A=X for all values =X in column A?

I concede this probably sounds confusing, but i am not of a wordsmith mind
at the moment.

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 for multiple values and return to one desired value nsd Excel Worksheet Functions 8 September 23rd 08 10:44 PM
Vlookup Return Multiple Values Ripper Excel Discussion (Misc queries) 3 April 25th 08 07:31 PM
How do I return Multiple values using VLookup? Sean Excel Worksheet Functions 1 June 12th 07 12:45 PM
vlookup one value and return multiple values Lisa Excel Discussion (Misc queries) 3 April 10th 07 04:44 PM
Search multiple values to return single values JANA Excel Worksheet Functions 8 October 27th 05 04:26 PM


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