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
 
unbelievable thank you so much PERFECTLY EXECUTED thanks i have one last request i posted something previously that is as follows

=IF(COUNTIF(C13:AG24,"eg/ig")>0,TODAY(),"")

the point is to return the date this occured based off the calendar its on and the calendar is as follows:
C11:AG11 = DAYS IN THE MONTH BY # FORMAT
B12:B23 = MONTHS IN THE YEARS
C13:AG24 = CONDITION THAT I ENTER AND IN THIS CASE IM LOOKING FOR WHEN "EG/IG" OCCURRED.

hope you can help - its work with that formula but returns today's date
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
unbelievable thank you so much PERFECTLY EXECUTED thanks i have one last request i posted something previously that is as follows

=IF(COUNTIF(C13:AG24,"eg/ig")>0,TODAY(),"")

the point is to return the date this occured based off the calendar its on and the calendar is as follows:
C11:AG11 = DAYS IN THE MONTH BY # FORMAT
B12:B23 = MONTHS IN THE YEARS
C13:AG24 = CONDITION THAT I ENTER AND IN THIS CASE IM LOOKING FOR WHEN "EG/IG" OCCURRED.

hope you can help - its work with that formula but returns today's date

You're welcome. I am glad that worked for you.

As for this one, it looks like it will always return today's date if it finds at least 1 occurrence of "eg/ig". Are you trying to return the actual date that "eg/ig" occurred instead of today's date?
 
Upvote 0
Ok, I assumed month names in B12:B23. Give this a try. It's not returning a number though, so it may need to be tweaked if you are using the result in another formula.

=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
so it works but not returning the dates returning this "431321" but format is entered as date hmmm trying to think here
 
Upvote 0
Well, I typed in Jan, Feb, Mar etc and 1, 2, 3, 4, 5 etc. So the formula is putting the two together like Jan 5 as a text string. How are your headers (months and days) formatted?
 
Upvote 0
You could try wrapping the formula in =DATEVALUE( formula )
 
Upvote 0

Forum statistics

Threads
1,215,022
Messages
6,122,726
Members
449,093
Latest member
Mnur

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