The first part of this formula works, but not the rest.

HeRoseInThree

Board Regular
Joined
Jan 11, 2018
Messages
103
The first 4 parts work, but none of the rest. Any ideas why?

=IF(ISBLANK(A19),"",IF(A19="tow","Towing",IF(A19="etow","Emergency roadside towing",IF(A19="itow","In house towing",IF(A19="inspect","Inspect to determine necessary repairs",IF(A19=”dot”,"DOT re-inspection fee",IF(A19=”scene”,"Clean up at scene",IF(A19="prop","Other real property damaged",IF(A19="wc","Subrogation for W/C injury",IF(A19="gas","100 gallons of fuel @ $2.87",IF(A19="parts","misc parts",IF(A19="ship","Shipping for parts",IF(A19="cool","Reclaim refrigerant, replace and perform leak check",IF(A19="fea","Front end alignment",IF(A19="h20","12 gallons of antifreeze @ $6.73",IF(A19="bodyp","Body shop (parts & materials)",IF(A19="bodyl","Body shop (labor)",IF(A19="misc","Misc shop procedures, supplies & administrative fees",IF(A19="report","Purchase accident report",0)))))))))))))))))))
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Some of your quotes are wrong you have ” rather than "
 
Upvote 0
Look at the quotes you have here
Excel Formula:
IF(A19=”dot”,
they are the wrong type, you need to change them to "
You also have them around
Excel Formula:
IF(A19=”scene”
 
Upvote 0
Solution
OK, I'm 48 years old, been working with computers for most of my life and I went to DeVry. I NEVER knew there was a difference in the quotes!

THANKS!!
 
Upvote 0

Forum statistics

Threads
1,223,969
Messages
6,175,682
Members
452,667
Latest member
vanessavalentino83

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