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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Carty

Board Regular
Joined
Mar 3, 2009
Messages
76

ADVERTISEMENT

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 :)

 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
60,893
Office Version
  1. 365
Platform
  1. Windows
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.
 

Carty

Board Regular
Joined
Mar 3, 2009
Messages
76
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,263
Messages
5,769,111
Members
425,518
Latest member
seothaeng

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
Top