A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Adding Cell to the left



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2008, 07:44 PM posted to microsoft.public.excel.worksheet.functions
cmatera
external usenet poster
 
Posts: 19
Default Adding Cell to the left

R57 may or may not contain a #
If R57 contains a number I want to add the value of the cell to the
left of R57 so Q57 to the value of anothercell..lets say S57

So for example

Lets say R57 is 10

I want to add Q57(5) to the value in S57 (3) to make T57 = 8


any ideas how?

Thanks
  #2  
Old September 15th, 2008, 07:54 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Adding Cell to the left

Enter this formula in T57:

=IF(COUNT(R57),Q57+S57,"")

If R57 does not contain a number then T57 will remain blank.

--
Biff
Microsoft Excel MVP


"cmatera" wrote in message
...
R57 may or may not contain a #
If R57 contains a number I want to add the value of the cell to the
left of R57 so Q57 to the value of anothercell..lets say S57

So for example

Lets say R57 is 10

I want to add Q57(5) to the value in S57 (3) to make T57 = 8


any ideas how?

Thanks



  #3  
Old September 15th, 2008, 07:57 PM posted to microsoft.public.excel.worksheet.functions
Gary''s Student
external usenet poster
 
Posts: 7,584
Default Adding Cell to the left

So if R57 is nothing then T57 is nothing
So if R57 is a number then put Q57+S57 into T57


In T57,enter:
=IF(R57="","",Q57+S57)
--
Gary''s Student - gsnu2007k
  #4  
Old September 15th, 2008, 08:01 PM posted to microsoft.public.excel.worksheet.functions
Andri
external usenet poster
 
Posts: 66
Default Adding Cell to the left

enter the formula in T57= if(isnumber(R57),Q57+S57,"")


"cmatera" wrote:

R57 may or may not contain a #
If R57 contains a number I want to add the value of the cell to the
left of R57 so Q57 to the value of anothercell..lets say S57

So for example

Lets say R57 is 10

I want to add Q57(5) to the value in S57 (3) to make T57 = 8


any ideas how?

Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.