Horribly horribly urgent #name? Error to resolve - pls can someone help?

halesowenmum

Active Member
Joined
Oct 20, 2010
Messages
380
Office Version
  1. 365
Platform
  1. Windows
Hi

I've got a spreadsheet with a whole host of Status's showing how complete various documents are. I've just had to change all the status's so now the formula which refers to the cell to its left and returns a particular % (of completion) figure, is totally out of whack and I am supposed to circulate this document by 10am. I have tried and tried and tried but I just cannot get it to stop doing #name?. This is the formula - does any part of the syntax look wrong?:

=IF(Z4=Content Development not started,"0%",IF(Z4=Content Development started,"25%",IF(Z4=Ready to publish,"50%",IF(Z4=Content uploaded,"60%",IF(Z4=Page created,"70%",IF(Z4=On hold,"75%",IF(Z4=Published,"<wbr style="font-family: 'trebuchet ms', sans-serif; font-size: 12.727272033691406px;">85%",IF(Z4=Signed off,"95%",IF(Z4=Complete,"100%<wbr style="font-family: 'trebuchet ms', sans-serif; font-size: 12.727272033691406px;">")))))))))

On the worksheet within this document where the status's reside they look like this:

[FONT=trebuchet ms,sans-serif]Content Development not started[/FONT]
Content Development started
Ready to publish
Content uploaded
Page created
On hold
Published
Signed off
Complete

And for each one I selected it and did Define Name so it would be named. But I'm still getting the error message and I just don't know what to do and I am desperate for someone with a better pair of eyes to have a look and tell me what is the problem here.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
You need " characters around the text.

=IF(Z4="Content Development not started","0%",IF(Z4="Content Development started","25%",IF(Z4="Ready to publish","50%",IF(Z4="Content uploaded","60%",IF(Z4="Page created","70%",IF(Z4="On hold","75%",IF(Z4="Published","85%",IF(Z4="Signed off","95%",IF(Z4="Complete","100%")))))))))

There are several ways this formula could be improved but I'll leave it in the format you provided since you urgently need to get your work finished.
 
Upvote 0
Yes - that's it - God, what a div (me, not you!!). Thank you re ideas for improvement but I'm too desperate to get this out as you say - I'll just crack on with it as it is as so long as it's producing a %, then I'm happy for the moment.

THANK YOU so MUCH :)
 
Upvote 0

Forum statistics

Threads
1,203,508
Messages
6,055,813
Members
444,826
Latest member
aggerdanny

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