Formula - MIN & MAX With Reactions To Specified Terms In Seperate Column?

Joined
Mar 4, 2014
Messages
7
Hello all,

I'm looking to create a formula which looks up the minimum and maximum supplier credit terms, which also takes into account whether the terms are net (just the days listed) or end of month (plus 30 days)? See below for required detail:

Layout of relevant column headers:
G2: Payment days - number (data validation)
H2: Payment terms (Net, End of month, etc) (text)

How can I make the MIN (or similar) formula look up the smallest value of payment days (G2) which are also "Net" (H2)?
and
How can I make the MAX (or similar) formula look up the largest value of payment days (G2) which are also set up as "End of month" (G2) and then add 30 days to take into account the longest possible end to a month?

I'm usually pretty good with forumlas, but my brain is making me do this in about six steps today!

Thanks in advance.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,216,082
Messages
6,128,707
Members
449,464
Latest member
againofsoul

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