Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
atomicski
 
Posts: n/a
Default Adding a value from a different cell


Say there is a 5 in cell A1, I want cell B1 to display 7. So is there a
way to make a formula that does something like this? ex.
(A(variable)+2)=B(vairable)


--
atomicski
------------------------------------------------------------------------
atomicski's Profile: http://www.excelforum.com/member.php...o&userid=31744
View this thread: http://www.excelforum.com/showthread...hreadid=514562

  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin Vaughn
 
Posts: n/a
Default Adding a value from a different cell

In B1 put the formula

=a1 + 2

--
Kevin Vaughn


"atomicski" wrote:


Say there is a 5 in cell A1, I want cell B1 to display 7. So is there a
way to make a formula that does something like this? ex.
(A(variable)+2)=B(vairable)


--
atomicski
------------------------------------------------------------------------
atomicski's Profile: http://www.excelforum.com/member.php...o&userid=31744
View this thread: http://www.excelforum.com/showthread...hreadid=514562


  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Adding a value from a different cell

You could use:
=a1+2
In B1



atomicski wrote:

Say there is a 5 in cell A1, I want cell B1 to display 7. So is there a
way to make a formula that does something like this? ex.
(A(variable)+2)=B(vairable)

--
atomicski
------------------------------------------------------------------------
atomicski's Profile: http://www.excelforum.com/member.php...o&userid=31744
View this thread: http://www.excelforum.com/showthread...hreadid=514562


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
BigPig
 
Posts: n/a
Default Adding a value from a different cell

If the end result is that a cell displays 'whatever number + 2' then:
=SUM(A1+2)
Where cell A1 is the place where you put the number (not the formula).

If you don't want a 2 to be displayed in the cell that has the formula when
there isn't any data in 'A1', then you could type:
=IF(A1="","",SUM(A1+2))

There are actually a lot of different ways to write this formula, I am not
advocating one or the other, but this one works.

Hope this helps.


"atomicski" wrote:


Say there is a 5 in cell A1, I want cell B1 to display 7. So is there a
way to make a formula that does something like this? ex.
(A(variable)+2)=B(vairable)


--
atomicski
------------------------------------------------------------------------
atomicski's Profile: http://www.excelforum.com/member.php...o&userid=31744
View this thread: http://www.excelforum.com/showthread...hreadid=514562


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
What is the shortcut key for adding $ to a cell reference eg $c$3 Bryce Excel Worksheet Functions 2 September 14th 05 02:30 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Adding a fixed date to a cell Erik Jahre Excel Worksheet Functions 2 June 20th 05 10:00 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Adding contents of one cell to a range of cells. CLJinVA Excel Worksheet Functions 1 February 10th 05 10:19 PM


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