What does $A$# do

Lball

Board Regular
Joined
Oct 4, 2005
Messages
197
Is this a viable entry in a formula? I was given a formula with it in it and told to format cell type as #;#;""
 

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"
The use of "$" in a formula is called Absolute Cell Reference and is a viable entry in a formula. An absolute cell reference will not change when you copy it whereas a Relative Cell Reference will change when copied. To understand this:

• In cell B1, put this formula: =$A$1
• In cell B2, put this formula: =A2
• Copy the range B1:B2 to H1:H2. You will not that the formula in H1 reads =$A$1, it hasn't changed the cell it's referencing. The formula in H2 reads =G2, the cell it's referencing has changed.

Does this help you out?
 
Upvote 0
As far as I can see this is nothing to do with formulas.

That's a custom number format which you would apply via Format>Cells... and Custom.
 
Upvote 0
That's just formatting the cell. The use of # will display only significant digits and does not display insignificant zeros. In addition, the last part ("") will display nothing if the formula returns a value of zero. The semi-colon is used to differentiate how to display different values and is broken as follows:

Positive values (define how to display postive values);Negative values (define how to display negative values);Zero (define how to display a zero value);Text (define how to display text)

For a better explanation, search Excel's help for "Create a Custom Number Format".

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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