Vlookup

simonw

New Member
Joined
Mar 5, 2004
Messages
32
Hi:

Given a block of data the vlookup function will find the first occurrence that meets the given criteria: Is there a method to find the 2nd, 3rd 4th etc row of data that also meets the original criteria?

Example criteria: coating events on 4/9/06

Date Area Total
4/9/06 proc 150
4/9/06 coating 300
4/9/06 coating 150
4/9/06 coating 250


The vlookup function will find 4/9/06 coating 300 but miss the other two entries that meet the criteria in this example.
I cannot use the function Sumif as I need to see the events, and I would preferred not to use pivot tables or macros.

Many thanks
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
simonw

Is this what you want? Formula in F3 is:
=SUMPRODUCT(--(A2:A5=F1),--(B2:B5=F2),C2:C5)

If not, post back with more details.
Mr Excel.xls
ABCDEFG
1DateAreaTotalDate04/09/2006
204/09/2006proc150AreaCoating
304/09/2006coating300Result700
404/09/2006coating150
504/09/2006coating250
6
Sumproduct
 
Upvote 0

Forum statistics

Threads
1,215,022
Messages
6,122,716
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top