Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / May 2008

Tip: Looking for answers? Try searching our database.

How to 'format' cells to be 'absolute' references ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
akm - 08 May 2008 05:20 GMT
How to 'format' cells to be 'absolute' references ?
Trying to setup cells with date formulas (for project management) with
formula cell to show date from sum of reference date cell plus number of days
cell, and make formula cell an absolute value so can sort cells by that cell
column (per discussion at ...
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?query=absolut
e+reference&dg=microsoft.public.excel&cat=en_US_e064c9ec-14bf-4ef7-ba07-6a197055
9f64&lang=en&cr=US&pt=&catlist=&dglist=&ptlist=&exp=&sloc=en-us

...ie, cell-3 = $cell-1(date) + $cell-2(number of days)
How to get reference cells to be absolute values by formating, or set with
shortcut key, or set with main menu pick ?
Signature

akm
Thanks again for your help.
----
Ah, the miracle of computers!... someone also said "To error is human, but
to really screw up it takes a computer!"

Roger Govier - 08 May 2008 07:46 GMT
Hi
In cell A3 for example
=$A$1+$A$2
Format cell A3 in whatever way you wish to have the date shown
Format>Cells>Number>Custom>dd mmm yyyy
Signature

Regards
Roger Govier

> How to 'format' cells to be 'absolute' references ?
> Trying to setup cells with date formulas (for project management) with
[quoted text clipped - 7 lines]
> How to get reference cells to be absolute values by formating, or set with
> shortcut key, or set with main menu pick ?
akm - 08 May 2008 15:17 GMT
Roger
Thank you for the reply.
Guess Im using the word 'format' figuratively in that I would like to be
able to make all cells have absolute values in formulas etc without needing
to go to each cell and click F4 at each entry of the formula/reference to get
the $ in front of each ref.
Hope that makes more sense as a question.
akm
Thanks again for your help.

> Hi
> In cell A3 for example
[quoted text clipped - 12 lines]
> > How to get reference cells to be absolute values by formating, or set with
> > shortcut key, or set with main menu pick ?
Gord Dibben - 09 May 2008 00:10 GMT
You cannot format or pre-set cells with absolute references.

You can run a macro on your formulas after you have entered them is about all
you get.

Sub Absolute()
Dim Cell As Range
   For Each Cell In Selection
       If Cell.HasFormula Then
           Cell.Formula = Application.ConvertFormula _
           (Cell.Formula, xlA1, xlA1, xlAbsolute)
       End If
   Next
End Sub

Sub AbsoluteRow()
Dim Cell As Range
   For Each Cell In Selection
       If Cell.HasFormula Then
           Cell.Formula = Application.ConvertFormula _
           (Cell.Formula, xlA1, xlA1, xlAbsRowRelColumn)
       Next
   End Sub
   
Sub AbsoluteCol()
Dim Cell As Range
   For Each Cell In Selection
       If Cell.HasFormula Then
           Cell.Formula = Application.ConvertFormula _
           (Cell.Formula, xlA1, xlA1, xlRelRowAbsColumn)
       Next
   End Sub

Sub Relative()
Dim Cell As Range
   For Each Cell In Selection
       If Cell.HasFormula Then
           Cell.Formula = Application.ConvertFormula _
           (Cell.Formula, xlA1, xlA1, xlRelative)
       Next
   End Sub

I have these as option buttons on a UserForm.

Accessed through my cells' right-click menu.

Gord Dibben  MS Excel MVP

>Roger
>Thank you for the reply.
[quoted text clipped - 22 lines]
>> > How to get reference cells to be absolute values by formating, or set with
>> > shortcut key, or set with main menu pick ?
akm - 09 May 2008 00:25 GMT
Gord
Thank you for the info !
Am not very experienced with macros, but will give it a try.
Thanks again.
akm

> You cannot format or pre-set cells with absolute references.
>
[quoted text clipped - 70 lines]
> >> > How to get reference cells to be absolute values by formating, or set with
> >> > shortcut key, or set with main menu pick ?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.