+ Reply to Thread
Results 1 to 10 of 10

What if formula/function

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    MS Office 2011
    Posts
    8

    What if formula/function

    How would I do a what if formula using two sheets ? Would I have to put the data from both sheets on to 1 sheet? How would I do a formula stating if true the original data will show and if false the test data will show up. Any help and suggestions is greatly appreciated.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: What if formula/function

    Hi, welcome to the forum

    Hopefully, this will get you headed in the right direction (you didnt give us much to work on lol)

    =IF(Sheet1!A1="xxx",Sheet1!A2,Sheet2!A2)

    This is saying that if the contents of Sheet1 cell A1 = "xxx" (replace with your own criteria), then use Sheet1 cell A2, otherwise use Sheet2 cell A2
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-18-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    MS Office 2011
    Posts
    8

    Re: What if formula/function

    Thank you for you help. I appreciate!! I just have to ask so I do not need to put the data on a separate spreadsheet? Will I need to link anything?
    Make it a cantab day

  4. #4
    Registered User
    Join Date
    09-18-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    MS Office 2011
    Posts
    8

    Re: What if formula/function

    So I tried the earlier suggestion w/ no luck. I'm
    Sure it's me.
    Here's what I have.
    2 spreadsheets; 1 w/ original data & 1 w/ test data.
    What would be the best way to do a what if formula/
    Function. If true original data would show up & if
    false test data would show up? Would I need to link
    the 2 sheet or create 2 more sheets w/ the data, that
    would seem redundant. What is the best way to write
    the formula?
    Thank you & I appreciate all help/suggestions.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: What if formula/function

    Do you have a (clean) sample workbook to show me?

  6. #6
    Registered User
    Join Date
    09-18-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    MS Office 2011
    Posts
    8

    Re: What if formula/function

    Yes I will attach it later as I am out of town

  7. #7
    Registered User
    Join Date
    09-18-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    MS Office 2011
    Posts
    8

    Re: What if formula/function

    Hopefully the brow attachment will help
    Attached Files Attached Files

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: What if formula/function

    Thanks for the file

    OK where would the TRUE/FALSE criteria be found, and where/how would you want the results shown?

  9. #9
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: What if formula/function

    Hi,

    Sorry, the Wrong answer provided .

    Punnam
    Last edited by Punnam; 09-22-2014 at 01:17 AM.

  10. #10
    Registered User
    Join Date
    09-18-2014
    Location
    Oshkosh, WI
    MS-Off Ver
    MS Office 2011
    Posts
    8

    Re: What if formula/function

    Thank you for your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 02-06-2014, 09:22 AM
  2. Formula Creation: Using List Function + Subtraction Function
    By HelpMe! in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2013, 04:52 PM
  3. Replies: 0
    Last Post: 01-19-2013, 01:35 PM
  4. Need Excel formula in Macro using Subtotal formula with If function
    By mbnewton1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2013, 03:00 PM
  5. [SOLVED] I want to create a formula in one sheet, that will function as a formula in other sheets
    By johnw993 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2013, 07:07 PM

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