Expert Needed to help with complex formula please!

Joined
May 17, 2011
Messages
27
I have a worksheet with 30 columns across. In column A I want either a tick or a cross in each box to indicate whether all the columns have been filled in between columns B and AT.

Ideally it would be a tick if there are 4 or less blank columns on each row, a red cross if there are between 4-20 blank columns on each row and another symbol if there are 20+ blank fields.

Currently I am using this formula:

=LOOKUP(COLUMNS(B1:AT1)-COUNTA(B1:AT1),{0,1,25;"a","r","x"})

with webdings to illustrate the crosses/ticks etc.

Thanks
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
So... are you saying this formula doesn't do what you want it to?

Which version of Office are you using? 2007 onwards has some nice icon sets which you can display using conditional formatting.
 
Upvote 0
2003 version. Webdings works fine, it's just the part of the formula selecting the 0-4 blanks as okay, the 4-20 as not okay, and the 20+ as not applicable (because the row probably hasn't been filled in yet)
 
Upvote 0
I think your only typo is you put 0,1,25 when you should have put 0,4,25.

You might also want to check this: you wrote "a tick if there are 4 or less blank columns on each row, a red cross if there are between 4-20 blank columns". Does 4 need a tick or a red cross? You included it in both conditions.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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