Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Utilizing a Cell even with a Formula located inside it

Hi, I'm completely new to this board and was wondering if I could
possibly get some help. I'm trying to utilize a cell in which has a
formula in it, however everytime I insert a value to utilize the
formula, it of course.., gets cleared out. Is there anyway to
maintain
the formula inside the cell, then be able to just type a basic number
into the cell and have the formula calculate. The formula I have now
is =IF(A2=0, B2=0,""), I need when A2 is empty, for B2 to empty
itself
out. However, I need when A2 has something in it, for C2 to subtract
the value from B2, but I can't if the formula doesn't stay put.
Thanks
in advance!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Utilizing a Cell even with a Formula located inside it

You need to put the formula in C2, something like:

=IF(A2="","",B2-A2)

So, if A2 is empty then C2 will also appear empty, but if A2 contains
some value then it will be subtracted from B2 and the result will
appear in C2.

Hope this helps.

Pete


On Jul 2, 11:46 pm, "Ahh, Excel's Tough"
wrote:
Hi, I'm completely new to this board and was wondering if I could
possibly get some help. I'm trying to utilize a cell in which has a
formula in it, however everytime I insert a value to utilize the
formula, it of course.., gets cleared out. Is there anyway to
maintain
the formula inside the cell, then be able to just type a basic number
into the cell and have the formula calculate. The formula I have now
is =IF(A2=0, B2=0,""), I need when A2 is empty, for B2 to empty
itself
out. However, I need when A2 has something in it, for C2 to subtract
the value from B2, but I can't if the formula doesn't stay put.
Thanks
in advance!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Utilizing a Cell even with a Formula located inside it

On Jul 2, 4:17 pm, Pete_UK wrote:
You need to put the formula in C2, something like:

=IF(A2="","",B2-A2)

So, if A2 is empty then C2 will also appear empty, but if A2 contains
some value then it will be subtracted from B2 and the result will
appear in C2.

Hope this helps.

Pete

On Jul 2, 11:46 pm, "Ahh, Excel's Tough"
wrote:



Hi, I'm completely new to this board and was wondering if I could
possibly get some help. I'm trying to utilize a cell in which has a
formula in it, however everytime I insert a value to utilize the
formula, it of course.., gets cleared out. Is there anyway to
maintain
the formula inside the cell, then be able to just type a basic number
into the cell and have the formula calculate. The formula I have now
is =IF(A2=0, B2=0,""), I need when A2 is empty, for B2 to empty
itself
out. However, I need when A2 has something in it, for C2 to subtract
the value from B2, but I can't if the formula doesn't stay put.
Thanks
in advance!- Hide quoted text -


- Show quoted text -


Thanks for the reply Pete, sorry about the multipost. I'll be sure to
try this tomorrow afternoon and keep you updated!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Utilizing a Cell even with a Formula located inside it

On Jul 2, 4:25 pm, "Ahh, Excel's Tough"
wrote:
On Jul 2, 4:17 pm, Pete_UK wrote:





You need to put the formula in C2, something like:


=IF(A2="","",B2-A2)


So, if A2 is empty then C2 will also appear empty, but if A2 contains
some value then it will be subtracted from B2 and the result will
appear in C2.


Hope this helps.


Pete


On Jul 2, 11:46 pm, "Ahh, Excel's Tough"
wrote:


Hi, I'm completely new to this board and was wondering if I could
possibly get some help. I'm trying to utilize a cell in which has a
formula in it, however everytime I insert a value to utilize the
formula, it of course.., gets cleared out. Is there anyway to
maintain
the formula inside the cell, then be able to just type a basic number
into the cell and have the formula calculate. The formula I have now
is =IF(A2=0, B2=0,""), I need when A2 is empty, for B2 to empty
itself
out. However, I need when A2 has something in it, for C2 to subtract
the value from B2, but I can't if the formula doesn't stay put.
Thanks
in advance!- Hide quoted text -


- Show quoted text -


Thanks for the reply Pete, sorry about the multipost. I'll be sure to
try this tomorrow afternoon and keep you updated!- Hide quoted text -

- Show quoted text -


Actually, just had time to try it out. I might be typing out the
formula wrong, but if not, I'm still having a bit of difficulty. I'm
in no way Excel (Powerpoint and Word is one thing but Excel is
another) advanced, so I hope you can bare with me. Right now my
formula is stuck at
=IF(C2="=IF(A2=0,"",PRODUCT([YearlySummary.xls]Lookup!$B$2,8)-
B:B)","",""). However, with this formula, the user would have to
manually go up to the formula bar and type in numbers between the
quotation marks. Is there anyway I can possibly have the user type the
number in the box, and have the formula work that way? I have that
formula currently in Column B, but since I need to subtract Column B
from Column C, it won't work out.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Utilizing a Cell even with a Formula located inside it

Just read my response again - you type the formula in C2 and when you
press Enter you will have a blank in C2 (if A2 is blank) or the result
of B2-A2 (if A2 contains a value). Your users will enter values in
either A2 or B2 and C2 will show the appropriate result.

If you are dealing with different cell references, then just
substitute them directly.

Hope this helps.

Pete

On Jul 3, 12:35 am, "Ahh, Excel's Tough"
wrote:
On Jul 2, 4:25 pm, "Ahh, Excel's Tough"
wrote:





On Jul 2, 4:17 pm, Pete_UK wrote:


You need to put the formula in C2, something like:


=IF(A2="","",B2-A2)


So, if A2 is empty then C2 will also appear empty, but if A2 contains
some value then it will be subtracted from B2 and the result will
appear in C2.


Hope this helps.


Pete


On Jul 2, 11:46 pm, "Ahh, Excel's Tough"
wrote:


Hi, I'm completely new to this board and was wondering if I could
possibly get some help. I'm trying to utilize a cell in which has a
formula in it, however everytime I insert a value to utilize the
formula, it of course.., gets cleared out. Is there anyway to
maintain
the formula inside the cell, then be able to just type a basic number
into the cell and have the formula calculate. The formula I have now
is =IF(A2=0, B2=0,""), I need when A2 is empty, for B2 to empty
itself
out. However, I need when A2 has something in it, for C2 to subtract
the value from B2, but I can't if the formula doesn't stay put.
Thanks
in advance!- Hide quoted text -


- Show quoted text -


Thanks for the reply Pete, sorry about the multipost. I'll be sure to
try this tomorrow afternoon and keep you updated!- Hide quoted text -


- Show quoted text -


Actually, just had time to try it out. I might be typing out the
formula wrong, but if not, I'm still having a bit of difficulty. I'm
in no way Excel (Powerpoint and Word is one thing but Excel is
another) advanced, so I hope you can bare with me. Right now my
formula is stuck at
=IF(C2="=IF(A2=0,"",PRODUCT([YearlySummary.xls]Lookup!$B$2,8)-
B:B)","",""). However, with this formula, the user would have to
manually go up to the formula bar and type in numbers between the
quotation marks. Is there anyway I can possibly have the user type the
number in the box, and have the formula work that way? I have that
formula currently in Column B, but since I need to subtract Column B
from Column C, it won't work out.- Hide quoted text -

- Show quoted text -





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
Search in excel by date located in a cell Btobin0 Excel Discussion (Misc queries) 6 May 27th 06 03:20 PM
using the name of a worksheet written in a cell, inside a formula Using the name of a worksheet written in Excel Worksheet Functions 2 March 6th 06 10:29 PM
Can you dial a telephone number located in an cell? Steve D. Excel Discussion (Misc queries) 0 November 20th 05 03:13 AM
Using a value from a cell inside a formula! marsupilami Excel Discussion (Misc queries) 5 August 24th 05 07:06 AM
Need macro to insert text string while inside cell (formula) BrianB Excel Discussion (Misc queries) 0 May 31st 05 03:18 PM


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