Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 115
Default VLOOKUP - calculating multiple hits

Hi,

I need to calculate multiple Vlookup data hits.

In my spreadsheet, I need to search for 'UK' in one column, and return the
corresponding values of another column, but calculate the total of these
values if there is more than one 'UK' hit.

Any ideas???
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 180
Default VLOOKUP - calculating multiple hits

Hi Carol

Please tryt he below

=IF(COUNTIF(E2:E10,"UK")1,SUMIF(E2:E10,"UK",F2:F1 0),VLOOKUP("UK",E2:F10,2,FALSE))

I assume that UK is listed in col E and corresponding data is in col F

HTH,
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"carol" wrote:

Hi,

I need to calculate multiple Vlookup data hits.

In my spreadsheet, I need to search for 'UK' in one column, and return the
corresponding values of another column, but calculate the total of these
values if there is more than one 'UK' hit.

Any ideas???

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default VLOOKUP - calculating multiple hits

One way:

=SUMIF(A:A,"UK",B:B)

In article ,
carol wrote:

Hi,

I need to calculate multiple Vlookup data hits.

In my spreadsheet, I need to search for 'UK' in one column, and return the
corresponding values of another column, but calculate the total of these
values if there is more than one 'UK' hit.

Any ideas???

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
How do I add multiple values in an array based on multiple hits? Steve in Columbia Excel Discussion (Misc queries) 12 September 10th 07 01:14 AM
When countdown hits zero James O[_2_] Excel Discussion (Misc queries) 3 April 6th 07 05:01 PM
MS Excel 2003 CTRL+F missing hits MS Excel 2003 CTRL+F Error Excel Discussion (Misc queries) 2 October 26th 06 12:50 PM
multiple hits in random sequences bill gras Excel Worksheet Functions 2 November 4th 05 09:03 AM
lookup help with multiple hits O'C Excel Worksheet Functions 0 November 11th 04 09:28 PM


All times are GMT +1. The time now is 01:10 AM.

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"