+ Reply to Thread
Results 1 to 12 of 12

Leave a cell blank that has a formula until results are calcul. from another formula?

  1. #1
    Registered User
    Join Date
    03-26-2011
    Location
    East Chicago
    MS-Off Ver
    Excel 2008 - Mac
    Posts
    5

    Leave a cell blank that has a formula until results are calcul. from another formula?

    Hello,

    I am trying to create a sheet that will keep track of profit on the sale of individual items and convert the currency from Mex Pesos to US Dollars. I am new to excel so I am having a hard time.

    I have several Columns tracking different things but the primary Columns and cells with what they contain are as follows:

    Cost Dollars, Cost Pesos, SOLD Dollars, SOLD Pesos, Profit Dollars, Profit Pesos

    The Cost Dollars and Pesos cells contain a fixed number which is the cost for the item.

    In the SOLD Dollars cell has this formula
    =IF(ISBLANK(I2),"",I2/13) which will convert the sale to dollars once I type in a number in the next cell which is SOLD Pesos which is currently blank.

    In the "Profit" cell I have this formula =IF(ISBLANK(H2),NA(),H2-B2) which calculates the results from the SOLD Dollars cell.

    Finally in the "Profit Pesos" cell I have this formula =IF(ISBLANK(I2),"",I2-C2)

    It works great when I insert a number in the "SOLD Pesos" cell. Everything calculates the way its suppose too. The problem is that when the "SOLD Pesos" cell is empty the "Profit Dollars" cell says #VALUE. I know its saying that there is no value because there is a formula in the "SOLD Dollars" cell and its waiting for a value to appear but I want to have the Profit Dollars cell stay BLANK until the "SOLD Dollars" cell calculates a value from the formula it has. However the SOLD Dollars cell cant have a value until I type in the amount of the sale in "SOLD Pesos" cell.



    So I guess I just don't like the fact that it says #VALUE and Id like to leave it blank until in insert the data in the corresponding cell. My apologies if this is hard to understand. I am attaching the sheet as well so you can more clearly see the problem. I know I used headings instead of cells to describe the problem but again I am new to Exel. I would greatly appreciate any help. Thank you very much!
    Attached Files Attached Files
    Last edited by rlopez8; 03-26-2011 at 12:23 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    It should be:

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

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    Does this formula work for you?
    In J2
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    03-26-2011
    Location
    East Chicago
    MS-Off Ver
    Excel 2008 - Mac
    Posts
    5

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    Wow! That works great! Thank you for the fast response. I really appreciate it.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    That's what I meant to say.

  6. #6
    Registered User
    Join Date
    03-26-2011
    Location
    East Chicago
    MS-Off Ver
    Excel 2008 - Mac
    Posts
    5

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    Thank you as well Marcol but I tried Cutter's formula and it worked great. Thanks again!

  7. #7
    Registered User
    Join Date
    03-26-2011
    Location
    East Chicago
    MS-Off Ver
    Excel 2008 - Mac
    Posts
    5

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    That's interesting. They BOTH seem to work.

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    Yes, having a bad morning. I did mean to say the first one but then saw Marcol's reply and took a fast re-read and thought I mistyped.

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    H2 Refers to I2 so I just made J2 refer to I2 Both are "" if I2 is empty.

    Either way is correct.

  10. #10
    Registered User
    Join Date
    03-26-2011
    Location
    East Chicago
    MS-Off Ver
    Excel 2008 - Mac
    Posts
    5

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    Thanks again to Both of you! You are both Pros!

  11. #11
    Registered User
    Join Date
    04-14-2011
    Location
    leola, pa
    MS-Off Ver
    Excel Mac 2011
    Posts
    2

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    I was wondering if you could help me out as well, as I'm pretty new to excel and came across this post when trying to find a similar solution. The formula I'm using is E2=(C2*.029)+.3, however I want the E column to remain blank until there is a value in the C column.

  12. #12
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Leave a cell blank that has a formula until results are calcul. from another form

    Hi jasemoy. Welcome to the forum.

    We'd be very happy to help but first you'll have to click on the Forum Rules link at the top of the page and read the rules - especially Rule #2 because I'm afraid you're breaking that one.

    Soon after you start your own thread someone will give you the answer you need.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1