formula help with text "yes, "no" already have formula just need it revised

steve89

Board Regular
Joined
Oct 4, 2015
Messages
152
hello i have this formula

=IFERROR(IF($BQ$24=13,IF($BL$26=0,"yes","no")&TEXT($BL$26/BL$26,),"NO"),"yes")

i want the formula to know the following because it works to an extent
if BL26 = 0 then "NO"
if BQ24 = 13 then "YES"


thank you
 
Hmm, if you wanted to send me a copy of the file, I could look at it this evening. Until then, all I can do is attempt to recreate the data, but I don't think that will do as it seems there is some unknown that is keeping it from returning the expected value.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
i dont mind sending the file or trying to recreate the data i just sincerely appreciate the help
 
Upvote 0
Ok. I know I asked this already, but one more time.

Tell me how exactly the Month names and Month days are formatted, the formatting chosen in the drop down (general, text, number, etc), and the formatting of the range C12:AG23. I will try to recreate the table again and see what happens.
 
Upvote 0
sure no problem

B8 = you choose your year
Cells B12:B23 = =DATE($B$4,ROW(B12)-ROW($B$11),1)
B11:AG23= number days so 1,2,3,4,5,6,7,8,9,10 - 31 of month
on a separate page you enter a start date and end date of a conditon this case the condition is "EG/IG" which can only appear once a year on the calendar i provided between cells C12:AG23
The month appear spelled out January etc but on Cells A12:A23 the number of the months are 1=january etc
 
Upvote 0
So, is EG/IG being populated from a formula, or manually entered on the calendar?

Ok, scratch that question. Is it a cell format to display just the month name in B12:B23?
 
Last edited:
Upvote 0
Ok, one last try:

=DATE(B4,MONTH(INDEX(B12:B23,SUMPRODUCT(--(C12:AG23="EG/IG")*ROW(C12:AG23))-11)),INDEX(C11:AG11,,SUMPRODUCT(--(C12:AG23="EG/IG")*COLUMN(C12:AG23))-2))
 
Upvote 0
unbelievable wow thank you so much this worked perfectlyyyyyyyyyy - your a god lol thanks so much
 
Upvote 0
after everything you have helped me with i wanted to see if one more thing was possible i've developed this vacation accrue formula for employees but doesnt work the way id like it to. i would like for when an employee is hired that after a year the accrued amount would be added automatically based off todays date. lets say 1/1/2018 hired date 1/1/2019 would be 5 days accrued this is how i have it see below



Book1
BCDEFGHIJKLM
3EMPLOYEE NAMESTART DATETERMINATION DATETitleAnniversaryMonths Since AnniversaryStatusEMPLOYEE IDPAY RATEVacationSickPersonal
4SHEMEKIA ADAMS4/27/2012cook4/27/20180Full TimeF19038$14.00000
5GARNETT MCMULLEN6/3/2014cook6/3/20180Full TimeK19043$12.00000
EMPLOYEES
Cell Formulas
RangeFormula
F4=DATE(YEAR(TODAY()),MONTH(C4),DAY(C4))
F5=DATE(YEAR(TODAY()),MONTH(C5),DAY(C5))
G4=IFERROR(DATEDIF(F4,'E:\Accounts\Millhouse\Staffing\Attendance & PTO Sheets\Temp. Projects\[2018 Attendance & Infraction Log-- MASTER NEW.xlsm]Formula Data Sheet'!$K$45,"m"),0)
G5=IFERROR(DATEDIF(F5,'E:\Accounts\Millhouse\Staffing\Attendance & PTO Sheets\Temp. Projects\[2018 Attendance & Infraction Log-- MASTER NEW.xlsm]Formula Data Sheet'!$K$45,"m"),0)
K4=IFERROR(LOOKUP($E4,'PTO Hours Settings'!$A$5:$B$9,FALSE)/12*G4,0)
K5=IFERROR(LOOKUP($E5,'PTO Hours Settings'!$A$5:$B$9,FALSE)/12*G5,0)
L4=IFERROR(VLOOKUP($E4,'PTO Hours Settings'!$D$5:$E$9,FALSE)/12*G4,0)
L5=IFERROR(VLOOKUP($E5,'PTO Hours Settings'!$D$5:$E$9,FALSE)/12*G5,0)
M4=IFERROR(VLOOKUP($E4,'PTO Hours Settings'!$G$5:$H$9,FALSE)/12*G4,0)
M5=IFERROR(VLOOKUP($E5,'PTO Hours Settings'!$G$5:$H$9,FALSE)/12*G5,0)
Named Ranges
NameRefers ToCells
M='Formula Data Sheet'!$B$10:$B$79
year='Daily Schedule'!$J$4



Book1
ABCDEFGH
4Vacation Accrue Amounts for 1 yearSick Day Accrue Amounts for 1 yearPersonal Day Accrue Amounts for 1 year
5Food Service Director5.00Food Service Director0.00Food Service Director0.00
6Assistant Manager5.00Assistant Manager0.00Assistant Manager0.00
7Cook5.00Cook6.00Cook0.00
8Dietary Aide5.00Dietary Aide6.00Dietary Aide0.00
9Receiver/Utility5.00Receiver/Utility6.00Receiver/Utility0.00
10
11Vacation Accrue Amounts for 2 years or moreSick Day Accrue Amounts for 2 years or morePersonal Day Accrue Amounts for 2 years or more
12Food Service Director5.00Food Service Director0.00Food Service Director0.00
13Assistant Manager5.00Assistant Manager0.00Assistant Manager0.00
14Cook10.00Cook8.00Cook0.00
15Dietary Aide10.00Dietary Aide8.00Dietary Aide0.00
16Receiver/Utility10.00Receiver/Utility8.00Receiver/Utility0.00
PTO Hours Settings
 
Upvote 0
so pretty much what im looking for is the formula in K4 to know that based off of sheet "PTO HOURS SETTINGS" whatever is entered needs to apply after the employees anniversary year. (which is what a manager would enter per account and would vary)
 
Upvote 0

Forum statistics

Threads
1,224,830
Messages
6,181,229
Members
453,026
Latest member
cknader

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