+ Reply to Thread
Results 1 to 15 of 15

Excel 2007 : multiple formulas into one cell with autoupdate of subsequent values entered

  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    multiple formulas into one cell with autoupdate of subsequent values entered

    Hi,
    I am a medical student who's trying to conduct a research project on some medical physiological data that I need to collate. I am pretty new to excel so far as macros and programming so any help would be terrific if you could spare some time.MEWS SHEET 1.xlsx

    My problem is that I have used multiple formula to return certain values, once those values have been returned I need to collate the values themselves into a single cell which totals them. Although I realise I can just special paste the combined values into the cell, I also need to maintain the ability to have the formula cells adust any new values that have been entered with subsequent automatic updating of the final cell that totals those values.

    I have attached the sheet to this post in the hope sombody may be able to offer a solution. The blue area on the sheet represents the formula cells, the white cells (patient physiological data) represents the variable data input fields and the single orange cell is where I need to enter a formula to tally all the true values obtained from the formula cells.

    Hope this makes sense, would really appreciate some guidance
    Thank you!
    Last edited by TREVORWHITESIDE; 04-27-2009 at 03:42 PM. Reason: [SOLVED]RELOADED .xls

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Your attachment produces an error upon opening that says data is unreadable... please retry attachment.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Thanks, just reloaded, hope this one works: removed macro
    Attached Files Attached Files
    Last edited by TREVORWHITESIDE; 04-27-2009 at 11:51 AM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Still same issue... be sure to remove unnecessary stuff... links, pictures, macros...

  5. #5
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Hope this opens removed macro
    Thanks for looking
    Trevor
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Try:

    =SUM(IF(ISNUMBER(D4:K11+0),D4:K11+0))

    confirmed with CTRL+SHIFT+ENTER not just ENTER

    Note: In all your "blue zone" formulas, the numbers should not be in quotes.. as they are text strings when in quotes.. this makes it necessary to add the +0 in the formula above to convert...
    Last edited by NBVC; 04-27-2009 at 12:18 PM.

  7. #7
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Quote Originally Posted by NBVC View Post
    Try:

    =SUM(IF(ISNUMBER(D4:K11+0),D4:K11+0))

    confirmed with CTRL+SHIFT+ENTER not just ENTER

    Note: In all your "blue zone" formulas, the numbers should not be in quotes.. as they are text strings when in quotes.. this makes it necessary to add the +0 in the formula above to convert...
    Thanks for your suggestion and comment but this brings up the value total =0 still
    Trevor

  8. #8
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Quote Originally Posted by NBVC View Post
    Try:

    =SUM(IF(ISNUMBER(D4:K11+0),D4:K11+0))

    confirmed with CTRL+SHIFT+ENTER not just ENTER

    Note: In all your "blue zone" formulas, the numbers should not be in quotes.. as they are text strings when in quotes.. this makes it necessary to add the +0 in the formula above to convert...
    Thanks for your suggestion and comment but this brings up the value total =0 still
    Trevor

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    After you entered the formula did you hold the CTRL and SHIFT keys down and press ENTER?

    Go to the cell and hit F2 to re-activate the formula and then do the above.

  10. #10
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Yep, I did like exactly as you said but no joy, thanks anyway. Did this work on the sheet I posted? If it did I not sure what I am doing that means it will not work for me too?
    Trevor

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    That is weird, when I re-opened your file it (which still gives error, but allows repair), your sheet is formatted in R1C1 style.. so the formula didn't work again

    Not sure what your original is like, but if your column headers are numbers rather than letters, you need to change to normal format... go to the Office Button and click Excel Options.. select Formulas and uncheck R1C1 reference style.. then try the formula again...
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    The file you attached and ammended worked fine! But for some strange reason my version of excel would not except the formula directly. I re did the whole page again and it worked! Thank you so much you are brilliant!!
    Trevor

  13. #13
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Yeah, there was something definitely corrupt about your original file. That's why it could not be opened so easily....

    Please mark the thread as [Solved]

  14. #14
    Registered User
    Join Date
    04-27-2009
    Location
    BRIGHTON
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    Thanks again really kind of you to help appreciated greatly!

  15. #15
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: multiple formulas into one cell with autoupdate of subsequent values entered

    No Problem. You are very welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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