ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Replace #VALUE! with contents of cell?? (https://www.excelbanter.com/excel-worksheet-functions/135153-replace-value-contents-cell.html)

MOK

Replace #VALUE! with contents of cell??
 
Hello,

Hope someone can help with this!

I am exporting content into excel, where alot of the data contains
'='. Excel is then using the formula on this data and so '#VALUE!' is
appearing in every cell.

But I just want the content I am exporting to appear as is, without
excel using it's formulas on the data.

For example one of the cells data is:

=B1:L10-A11:I15

but Excel is displaying it as #VALUE!

but I just want it to be displayed as: =B1:L10-A11:I15

I have tried Paste Special, and setting Cell format to Text but still
no joy???

Is there a way to turn off Excel formulas or another way around this?

Thanks in advance for any help on this!!


Roger Govier

Replace #VALUE! with contents of cell??
 
Hi

One you have imported the data, you could use EditFind & Replace
Control+H to bring up the dialogue box
Replace =
With '=
Click replace All.

This will place a single quote in front of all = signs and prevent Excel
treating them as formulae.

--
Regards

Roger Govier


"MOK" wrote in message
ups.com...
Hello,

Hope someone can help with this!

I am exporting content into excel, where alot of the data contains
'='. Excel is then using the formula on this data and so '#VALUE!' is
appearing in every cell.

But I just want the content I am exporting to appear as is, without
excel using it's formulas on the data.

For example one of the cells data is:

=B1:L10-A11:I15

but Excel is displaying it as #VALUE!

but I just want it to be displayed as: =B1:L10-A11:I15

I have tried Paste Special, and setting Cell format to Text but still
no joy???

Is there a way to turn off Excel formulas or another way around this?

Thanks in advance for any help on this!!





All times are GMT +1. The time now is 03:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com