Hi guys,
I want to ask Excel to give me a value if a condition is met in a range of cells. So for example in cells I7:I9 I have values of 'Car' (I7), 'Truck' (I8) and 'Bike' (I9). The criterium I am looking for is "Truck" which I entered in I:17 so I can change it to whatever other criterium I want. Since in my example I have '30' Trucks, I need Excel to show me this result which should be equal to the J8 and is the middle value of cells in the range J7:J9.
I tried this formula:
{=IF(I7:I9=I17,J7:J9,0)}
For some reason this doesnt work.
Any ideas?
Thnx!!
Bookmarks