#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 28
Default Formula

Question:

I like to input a number in a cell, but that cell will always have to
subtract the value from a designated cell. Is there a way to hard code the
formula?

Example:

A1 = XXX-$B$10

XXX is the input # and it always changing. So as long as I input XXX in that
cell, it will automatically subtract the value in B10.

Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,560
Default Formula

A easy way of doing it would be enter the number in Cell A1 and then have
Cell A2 =$A$1-$B$10

Any other way I would think that if you have a formula like A1=XXX-$B$10
when you type number "XXX" in that cell it will replace the formula, then
only other way is a redirect like above

"Sweepea" wrote:

Question:

I like to input a number in a cell, but that cell will always have to
subtract the value from a designated cell. Is there a way to hard code the
formula?

Example:

A1 = XXX-$B$10

XXX is the input # and it always changing. So as long as I input XXX in that
cell, it will automatically subtract the value in B10.

Thank you for your help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Formula

Place the XXX in another cell then use the formula

=othercell-$B$10


Gord Dibben MS Excel MVP

On Mon, 8 Jan 2007 14:19:01 -0800, Sweepea
wrote:

Question:

I like to input a number in a cell, but that cell will always have to
subtract the value from a designated cell. Is there a way to hard code the
formula?

Example:

A1 = XXX-$B$10

XXX is the input # and it always changing. So as long as I input XXX in that
cell, it will automatically subtract the value in B10.

Thank you for your help.


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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 07:48 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"