If word equal add 10 working days or 3 working days

KrisCz

New Member
Joined
Nov 1, 2021
Messages
11
Office Version
  1. 2019
Platform
  1. Windows
Hi Guys,
I did my best but couldn't sort it out, I ried if, and, move yhings around but no luck :(
I need formula in J3 which will add 3 or 10 working days depending on word specified in cell G3, if word is "Live" or "Start Date" then I'd like to add 3 days to date specified in F3 if any other word in G3 then 10 days.
In addition if it is possible I'd like to highlight cell in red 2 days before due day as well.
Tracker Insurance(AutoRecovered).xlsx
ABCDEFGHIJKL
2Applicant(s) Name(s)Joint?Policy NoProviderPolicy TypeApplication DateStatusStart DateMonths In ForceLetter Due Date Letter Yes/NoTotal Commision
329/11/2021Live10/10/201013313/12/2021
420/10/2020 03/11/2020
5  
6  
7  
Sheet1
Cell Formulas
RangeFormula
I3:I7I3=IF(H3="","",(YEAR(G$1)-YEAR(H3))*12+MONTH(G$1)-MONTH(H3))
J3:J7J3=IF(F3="","",(WORKDAY(F3,10)))
Cells with Data Validation
CellAllowCriteria
K3:L7ListYes, No
B3:B7ListYes, No
D3:D1048576ListAegon, AIG, Aviva, British Friendly, Canada Life, Cirencester Friendly, Guardian, Legal & General, LV=, Royal London, Scottish Widows, Vitality Life, Zurich, Paymentshield, The Exeter, Shepherds Friendly
E3:E1048576ListLife, CIC, Life+CIC, Income, Home Insurance, PMI, ASU
G3:G7ListLive, Referred, Postponed, Rated, Declined,No Start Date, Start Date
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
How about
Excel Formula:
=IF(F3="","",(WORKDAY(F3,IF(OR(G3={"Live","Start Date"}),3,10))))
 
Upvote 0
Solution
I tried something like that
=IF(G3="Live, Start Date", (F3="","",(WORKDAY(F3,3))), (F3="","",(WORKDAY(F3,10)))
but I'm guess I am not even close to solution.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
WORKDAY(F3,IF(OR(G3={"Live","Start Date"}),3,10)))
It is working but I am intrigued how does it working?
If you find a moment would you be able to explain it?
How does excel knows when to add 10 and when to add 3 days?
How words relates to days? (3,10)
 
Upvote 0
It's saying that if G3 is Live or Start date then use 3 else use 10
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,582
Members
449,089
Latest member
Motoracer88

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