#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Adding VLOOKUP

Greetings,

I have the following formula, but it only returns one value although the
search criteria appears more than once in the array:

IF(ISNA(VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))=TRUE ,0,VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))

Currently, this formula looks up a name in a different worksheet within a
workbook, in this case the worksheet tab labeled "21". I want it to add the
dollar amounts for every item in column 7 for each instance the name appears
in the B column instead on only returning the first value obtained when the
name is found in column B. Please help! I have a bit of a deadline.

Thank you for your time.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 301
Default Adding VLOOKUP

=SUMPRODUCT(--('21'!$B$8:$B$53=A14),$H$8:$H$53)

"Nakia Allen" wrote in message
...
Greetings,

I have the following formula, but it only returns one value although the
search criteria appears more than once in the array:

IF(ISNA(VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))=TRUE ,0,VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))

Currently, this formula looks up a name in a different worksheet within a
workbook, in this case the worksheet tab labeled "21". I want it to add
the
dollar amounts for every item in column 7 for each instance the name
appears
in the B column instead on only returning the first value obtained when
the
name is found in column B. Please help! I have a bit of a deadline.

Thank you for your time.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Adding VLOOKUP

Thank you very much, Bob! I really appreciate the quick response!

"Bob Umlas" wrote:

=SUMPRODUCT(--('21'!$B$8:$B$53=A14),$H$8:$H$53)

"Nakia Allen" wrote in message
...
Greetings,

I have the following formula, but it only returns one value although the
search criteria appears more than once in the array:

IF(ISNA(VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))=TRUE ,0,VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))

Currently, this formula looks up a name in a different worksheet within a
workbook, in this case the worksheet tab labeled "21". I want it to add
the
dollar amounts for every item in column 7 for each instance the name
appears
in the B column instead on only returning the first value obtained when
the
name is found in column B. Please help! I have a bit of a deadline.

Thank you for your time.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Adding VLOOKUP

You are going to kill me, but it keeps returning zero when the total should
be $14.27. Could you take a look at it again.....pretty please?

"Bob Umlas" wrote:

=SUMPRODUCT(--('21'!$B$8:$B$53=A14),$H$8:$H$53)

"Nakia Allen" wrote in message
...
Greetings,

I have the following formula, but it only returns one value although the
search criteria appears more than once in the array:

IF(ISNA(VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))=TRUE ,0,VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))

Currently, this formula looks up a name in a different worksheet within a
workbook, in this case the worksheet tab labeled "21". I want it to add
the
dollar amounts for every item in column 7 for each instance the name
appears
in the B column instead on only returning the first value obtained when
the
name is found in column B. Please help! I have a bit of a deadline.

Thank you for your time.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Adding VLOOKUP

Try this:

=SUMPRODUCT(('21'!$B$8:$B$53=A14)*'21'!$H$8:$H$53)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Nakia Allen" wrote in message
...
You are going to kill me, but it keeps returning zero when the total
should
be $14.27. Could you take a look at it again.....pretty please?

"Bob Umlas" wrote:

=SUMPRODUCT(--('21'!$B$8:$B$53=A14),$H$8:$H$53)

"Nakia Allen" wrote in message
...
Greetings,

I have the following formula, but it only returns one value although
the
search criteria appears more than once in the array:

IF(ISNA(VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))=TRUE ,0,VLOOKUP(A14,'21'!$B$8:$H$53,7,FALSE))

Currently, this formula looks up a name in a different worksheet within
a
workbook, in this case the worksheet tab labeled "21". I want it to
add
the
dollar amounts for every item in column 7 for each instance the name
appears
in the B column instead on only returning the first value obtained when
the
name is found in column B. Please help! I have a bit of a deadline.

Thank you for your time.







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 and its properties pepenacho Excel Worksheet Functions 1 August 22nd 06 10:52 PM
Vlookup will not reference a validation/drop down box Dave Excel Discussion (Misc queries) 2 August 19th 05 09:52 PM
Adding a Macro to a VLookup Function Wanda H. Excel Discussion (Misc queries) 1 August 16th 05 08:37 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 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 03:14 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"