Need help with #VALUE! error

leopardhawk

Well-known Member
Joined
May 31, 2007
Messages
611
Office Version
  1. 2016
Platform
  1. Windows
Hello forum friends,

Can someone please tell me why this formula is giving me the #VALUE ! error?

Code:
"&TEXT(D36/(tax_tables!C39),"0%")&"

The value in D36 is $1227.32 and the value in tax_tables!C39 is $1154.58.

I want to display the result as a percentage.

The formula is a smaller part of a CONCATENATE string, hence the TEXT. I can get it to display dollar amounts, no problem, but I would like the percentage to work.

Thanks!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hello,

The formula as shown ... is correct ...

=TEXT(D36/(tax_tables!C39),"0%")

You should check elsewhere in the concatenation ...
 
Upvote 0
Also make sure that both D36 & C39 are numbers, not text.
 
Upvote 0
You are correct, I tried changing the formatting to 'number' and 'accounting' but neither one of those worked. There must have been some weird formatting in the cell (tax_tables!C39) though, because when I dragged down the cell above it to copy down, the error disappeared! Go figure.

Thanks for you help!
 
Upvote 0
Glad it's sorted & thanks for the feedback.

For reference, changing the format of a cell does not change the underlying value of the cell. If you enter a number as text & change the cell format, the cell contents will still be text.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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