+ Reply to Thread
Results 1 to 4 of 4

If function formula Returning value from different sheet based on text in Cell

  1. #1
    Registered User
    Join Date
    12-03-2020
    Location
    Glasgow
    MS-Off Ver
    365
    Posts
    18

    If function formula Returning value from different sheet based on text in Cell

    Hi guys

    been a massive help so far.

    I have one last challenge (for the time being)

    Ive populated what will in essence be a dashboard.

    and if something is at risk - then there is a figure that would be lost.

    I have the figures on another sheet, but I only want the cell in sheet 1 to populate the figure from sheet 2 if it shows "At risk" if there is no risk then I would want the cell to return a "0"

    I'm just unsure how to build the formula
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: If function formula Returning value from different sheet based on text in Cell

    You can use this formula in C3 of Sheet1:

    =IF(B3="At Risk",VLOOKUP($A3,Sheet2!$A:$B,2,0),"")

    Copy down to the bottom of your categories, then highlight those cells and copy/paste into E3, G3 and I3.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-03-2020
    Location
    Glasgow
    MS-Off Ver
    365
    Posts
    18

    Re: If function formula Returning value from different sheet based on text in Cell

    huge help Thank you!!!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: If function formula Returning value from different sheet based on text in Cell

    You're welcome, and thanks for marking the thread as Solved.

    As you are relatively new to the forum, you might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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: 3
    Last Post: 07-20-2020, 05:20 PM
  2. Returning some text based on cell contents in two columns
    By watchthisspace in forum Excel General
    Replies: 9
    Last Post: 09-18-2018, 06:10 AM
  3. Writing a formula for returning a text value based on multiple criteria
    By DataAnalyst215 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2016, 06:55 PM
  4. Replies: 3
    Last Post: 11-28-2012, 09:00 AM
  5. Returning information from separate workbook based on cell text
    By pdmkh in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-01-2010, 06:26 AM
  6. function formula returning error when inserted in sheet
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2009, 02:37 AM
  7. Returning Cell Address based on a Lookup Function
    By ChristiaanV in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-25-2007, 10:05 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