IF question dates

lealeadupont

New Member
Joined
Feb 1, 2022
Messages
16
Office Version
  1. 365
Platform
  1. MacOS
Hi!
I have this question but don't know how to manage that

Company pays to its suppliers at the end of next two months from the supply
date. Example: If the supply date is 18/01/2019, then then payment will be
31/03/2019, always at the end of next two months. If the payment day is
Saturday, then the company postpones the payment to Sunday. Example: if
the supply date is 18/01/2018 then the payment day will be 01/04/2018
(because 31/03/2018 is Saturday).
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi,

This should do what you want:

Book3.xlsx
AB
1Supply DatePay Date
21/18/20193/31/2019
31/18/20184/1/2018
411/30/20211/31/2022
Sheet983
Cell Formulas
RangeFormula
B2:B4B2=EOMONTH(A2,2)+IF(WEEKDAY(EOMONTH(A2,2))=7,1,0)
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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