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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,216,225
Messages
6,129,604
Members
449,520
Latest member
TBFrieds

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