Formula help...

omairhe

Well-known Member
Joined
Mar 26, 2009
Messages
2,040
Office Version
  1. 2019
Platform
  1. Windows
Hello Gurus,

The following will output me the "I" character in the sequence of each True Cell in a range and a blank " " similarly.

=aconcat(IF(ISNUMBER(AI7:BB7),"l"," "))

I would like it give a blank " " for cell with formulas giving me 0 numbers also. It is giving "I" for 0 numbers.

will appreciate.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
How about
Excel Formula:
=TEXTJOIN(,,IF((ISNUMBER(AI7:BB7))*(AI7:BB7<>0),"|"," "))
 
Upvote 0
Solution
How about
Excel Formula:
=TEXTJOIN(,,IF((ISNUMBER(AI7:BB7))*(AI7:BB7<>0),""|," "))
Thank you for the input, I tested this but this will join text without alternating between "I" and " "
For instance AI7 = 0 or a blank, Hence first character from the left should be a " " in the cell where the formula goes.
and then if AJ7 = 15 or any value greater than a 0, This should output me "I" as in second character from the left. and so on and so forth.
I could just eliminate the 0 values from the source cells (example, AI7:BB7) by turning the 0s into blanks with IF=0 then Blank. So yes this approach can fix the problem for me as well.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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