Combining an if statement, vlookup, and max possibly?

SHARRIS2013

New Member
Joined
Jan 3, 2013
Messages
10
Hi, i am trying to find a solution to the below but am stumped! Can anyone suggest a solution?

Tab 1
In column A i have a range of dates say Jan 1st to Feb 28th
In column B i have a range of values relating to each date

Tab 2
I have a range of data in row 1, two cells B1 and C1 contain dates Jan 15th and Feb 2nd respectively
In column E1 i want a formula to look at the dates in B1 and C1 and then use the table in Tab1 to look up the values between the corresponding dates and return the max value during those dates, so if Jan 24th is the highest value of 200 i would get a value of 200 in cell E1


One step further would be that i have a figure in D1, so in E1 if the formula could be enhanced to say whether D1 is greater than the max value mentioned above that would be great. Alternatively i will use the max figure above and then a seperate If statement?

I hope the above makes sense

Thanks!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Welcome to the forum,

Check this YouTube video out it will show you. Also example below: Headings must be the same.



Excel Magic Trick 935: MAX Value Between Two Dates: DMAX, MAX-IF-IF, or AGGREGATE Function? - YouTube

Excel Workbook
ABCDEF
1DatesValuesDate1Date2
201/01/20132303/01/201306/01/2013
302/01/201324
403/01/201325DatesDatesValues
504/01/201326>=3/1/13 42
605/01/201327
706/01/201328
807/01/201329
901/01/201330
1002/01/201331
1103/01/201332
1204/01/201333
1305/01/201334
1406/01/201335
1507/01/201336
1601/01/201337
1702/01/201338
1803/01/201339
1904/01/201340
2005/01/201341
2106/01/201342
2207/01/201343
Sheet2
 
Upvote 0
Thanks for the quick responses! I will test out the first suggestion tomorrow morning and take a look at the YouTube video too! Really appreciate your time to help me!
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,253
Members
452,900
Latest member
LisaGo

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