Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mascot
 
Posts: n/a
Default Dollar SIgns in Formulas

I have formulas in multiple cells that have dollar signs in the formula. So
when I copy and paste the formulas won't change. However I want them to
change. So is there a way I can clear the dollar signs in multiple Cells at
once So I don't have to do one by on?
  #2   Report Post  
 
Posts: n/a
Default

Hi
Select your range. Hit F2 and then click, in the formula bar, on the
reference you want to change. Each time you hit F4, the reference will
change through each relative and absolute option. When you see the one you
want, hit Ctrl+Enter.
Make sure you take a copy of the sheet before you start.

--
Andy.


"Mascot" wrote in message
...
I have formulas in multiple cells that have dollar signs in the formula.
So
when I copy and paste the formulas won't change. However I want them to
change. So is there a way I can clear the dollar signs in multiple Cells
at
once So I don't have to do one by on?



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Select them all and goto FormatCellnumber and set without dollars.

--
HTH

Bob Phillips

"Mascot" wrote in message
...
I have formulas in multiple cells that have dollar signs in the formula.

So
when I copy and paste the formulas won't change. However I want them to
change. So is there a way I can clear the dollar signs in multiple Cells

at
once So I don't have to do one by on?



  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Mascot,

Select your cells, and run the macro below. And, yes, I know that Intersect
command looks weird, but Excel will select all cells with formulas if you
don't do it that way with a single cell selected.....

HTH,
Bernie
MS Excel MVP

Sub RemoveAbsoluteReferences()
Dim myCell As Range

For Each myCell In Intersect(Selection, Selection. _
SpecialCells(xlCellTypeFormulas))
myCell.Formula = Application.ConvertFormula( _
myCell.Formula, xlA1, xlA1, xlRelative)
Next myCell

End Sub




"Mascot" wrote in message
...
I have formulas in multiple cells that have dollar signs in the formula.

So
when I copy and paste the formulas won't change. However I want them to
change. So is there a way I can clear the dollar signs in multiple Cells

at
once So I don't have to do one by on?



  #5   Report Post  
Mascot
 
Posts: n/a
Default

Hi Bernie,

Thanks for the help this macro works perfectly. You saved me a lot of time.

Mascot

"Bernie Deitrick" wrote:

Mascot,

Select your cells, and run the macro below. And, yes, I know that Intersect
command looks weird, but Excel will select all cells with formulas if you
don't do it that way with a single cell selected.....

HTH,
Bernie
MS Excel MVP

Sub RemoveAbsoluteReferences()
Dim myCell As Range

For Each myCell In Intersect(Selection, Selection. _
SpecialCells(xlCellTypeFormulas))
myCell.Formula = Application.ConvertFormula( _
myCell.Formula, xlA1, xlA1, xlRelative)
Next myCell

End Sub




"Mascot" wrote in message
...
I have formulas in multiple cells that have dollar signs in the formula.

So
when I copy and paste the formulas won't change. However I want them to
change. So is there a way I can clear the dollar signs in multiple Cells

at
once So I don't have to do one by on?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paste formulas between workbooks without workbook link ron Excel Discussion (Misc queries) 3 April 22nd 23 08:11 AM
Help, Urgent Excel Formulas are not calculating maashoff Excel Discussion (Misc queries) 1 May 3rd 05 12:25 AM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 08:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"