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
 
Header are days of the month in numerical valve 1,2,3,4,5 etc. Months on cells B12:B23 are spelled out January, february etc
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hmm, I'm not sure how you got a value of 431321 then. Date values right now are only 5 digits long. And it sounds like you have them formatted the same way I did, and it worked for me. Do you get a better result if you wrap it in =DATEVALUE() ?
 
Upvote 0
thanks for the reply can you submit the formula i tried putting date value and gave me an error this is what i did

=datevalue(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
Ok, formula provided in #17 wrapped in DATEVALUE():

=DATEVALUE(INDEX(B12:B23,SUMPRODUCT(--(C12:AG23="eg/ig")*ROW(C12:AG23))-11)&" "&INDEX(C11:AG11,,SUMPRODUCT(--(C12:AG23="eg/ig")*COLUMN(C12:AG23))-2))

I highlighted what I think you left out when wrapping the formula.
 
Upvote 0
not sure whats happening so i attached a picture for more transparency of things - note where its says #value on cell U6 which reads "Date Evaluation Giving/Raise:"

Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAG
2Title:cookEMPLOYEE ID:F190384/27/2012Hire Date:
3SELECT THE YEARStatus:Full TimePAYRATE:$14.21Termination Date:
42018Name Badges Giving:0ACCOUNT TYPE:NON-UNIONIZEDYESEvaluation Giving
5Employee NameTotal Uniforms Giving:0Amount of Increase:$0.21yesIncrease Giving:
6SHEMEKIA ADAMSTotal Shoes Giving:0Percentage Increase:1.5%[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=value]#value[/URL] !Date Evaluation Giving/Raise:
7END DATEBuilding & Payroll Code:MILLH41 - 9YY
8december
9
10
1112345678910111213141516171819202122232425262728293031
121January
132FebruaryEG/IGNANANA
143March
154AprilNA
165May
176JuneNA
187July
198August
209SeptemberNA
2110October
2211NovemberNA
2312December
EMPLOYEE REPORT
 
Upvote 0
Oh.. try replacing "eg/ig" in the formula with "EG/IG".
 
Upvote 0
revised formula with the "EG/IG" replacement - still asking for value...hmmm this is odd

=DATEVALUE(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
Ok.. try entering the formula with CTRL+SHIFT+ENTER. I didn't think I entered it as an array, but never know.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

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