Value error on simple formula

Carty

Board Regular
Joined
Mar 3, 2009
Messages
76
HI.

I'm using Excel 2013 where the file type is .xlsx

using this
Code:
='tab name'!E30
returns the (correct)value 50
However if I use this
Code:
='tab name'!e30&" Slices"
I get a value error where I am expecting "50 Slices".
If I use the formula evaluating tool it resolves to "50 slices" but the next stage returns #VALUE

I have had problems before with corrupt sheets where this
Code:
="12345"+0
returns the wrong result but this sheet does not suffer from this.
If I open a newworkbook the formula returns the correct result. This again points to a dodgy sheet but how do I go about checking this?
If the original book was created using excel 97 (.xls) and then saved as excel 13 would this stop the formula working?

So many questions, so little ideas :(

Thanks

Paul
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi wilsjohn
Thanks for your replies.I have entered the following but all return a value error:
='tab name'!E30&" " &Slices
='tab name'!E30 & " Slices"
=tab name!E30 & " Slices"
By the way " Slices" is just text that needs to be added to the value in E30 :)

 
Upvote 0
Your original formula of:
Code:
='tab name'!e30&" Slices"
worked fine for me too. It is a pretty basic/standard formula. I prefer to use spaces in between the parts of my formula, like this:
Code:
='tab name'!e30 & " Slices"
But I really don't think that should matter.

Some alternative formulas you can try:
Code:
=CONCATENATE('tab name'!E30," Slices")
and
Code:
=INDIRECT("'tab name'!E30") & " Slices"

They should all return the same thing.

If it does not work, then perhaps you have some corruption in your original workbook.
 
Upvote 0
Hi Joe4

It's the sheet :(

Opened a new book, made 1 sheet look at the other and everything is good in the world!

Thanks for your ideas

Paul
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,040
Members
448,543
Latest member
MartinLarkin

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