Formula Help Please

pure vito

Board Regular
Joined
Oct 7, 2021
Messages
180
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Could I ask for you help please, apologies in advance I do not understand how to use L2BB but I have added a link to the document,

Admittedly I'm not very good with formula, but what I want to achieve is G7 should show the amount of lieu days earned (J7) but starting from P7 if you type in "LT" it should deduct 8.5 Monday to Thursday but on Friday should deduct 5, I'm not sure if this is possible but because this will be a shared document I'm not sure it macros will work?

Thanks in advance.

holiday trackerr.xlsm

1665558839501.png
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi, how about:

Excel Formula:
=J7-(COUNTIFS(M7:NK7,"LT",$M$5:$NK$5,"<>Friday")*8.5)-(COUNTIFS(M7:NK7,"LT",$M$5:$NK$5,"=Friday")*5)
 
Upvote 0
Solution
That's Fantastic, thank you so much for taking the time it's much appreciated.
 
Upvote 0
Hi @FormR, I'm wondering if you could possibly help me again with this formula please, the requirement has changed, rather than having the formula add the set value
I'd like to manually type in the value in each cell as an example I would type something like this "LT 5.5" rather than just "LT", hope this makes sense and again thanks for your help.
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,934
Members
449,094
Latest member
teemeren

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