VLOOKUP - calculating multiple hits

  • Thread starter Thread starter carol
  • Start date Start date
C

carol

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???
 
Hi Carol

Please tryt he below

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

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

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

VLOOKUP or IF Function? 6
Looking for Formula 1
Excel Vlookup Help 0
#VALUE! 10
VLOOKUP returns #REF!? 1
Temp variables within formulas? 2
Vlookup / updating a cell 1
Excel Excel Vlookup formula based on cell data 7

Back
Top