+ Reply to Thread
Results 1 to 6 of 6

Retrive result on alternate input

  1. #1
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    17

    Retrive result on alternate input

    Hello,

    i want to apply for the formula to get result if i input any 1 data.
    attaching screenshot for reference

    Query.png

    I have data in Column A,B,C and in G when i input any 1 data from A or B result shall be displayed of C

    can any one give me the formula as i am newbie with excel.

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    18,396

    Re: Retrive result on alternate input

    Try

    =INDEX(A:C,MATCH(G4,IF(ISNUMBER(G4),B:B,A:A),0),3)

  3. #3
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    17

    Re: Retrive result on alternate input

    Hello, Thank you so much formula.

    i changed data vice versa between A & B than the formula is not working.
    some times we will have integer data in A and text data in B.

    Any suggestion/update in formula.

    Thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,487

    Re: Retrive result on alternate input

    Try this:

    =IFNA(INDEX(A:C,MATCH(G3,A:A,0),3),INDEX(A:C,MATCH(G3,B:B,0),3))

    Are you still using Excl 2010? If not, please update your forum profile.
    Last edited by AliGW; 04-15-2021 at 04:00 AM. Reason: Typo
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  5. #5
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    17

    Re: Retrive result on alternate input

    Thank you So much. it worked.

    sure will update excel version

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,487

    Re: Retrive result on alternate input

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Input percentiles get result and put into another sheet
    By wherdzik in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2020, 09:19 AM
  2. [SOLVED] Input result when 2 cells conditions are met
    By jamewoong in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-18-2015, 12:39 AM
  3. Need output result for input
    By satyendra21 in forum Excel General
    Replies: 5
    Last Post: 11-18-2015, 08:25 AM
  4. Use input box result to select a cell
    By Hobbage in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2013, 12:20 PM
  5. Referencing a concatenated result in an alternate range
    By LCl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-20-2012, 06:33 PM
  6. Need predefined result depending on input
    By okicizepa in forum Excel General
    Replies: 1
    Last Post: 07-22-2010, 05:35 AM
  7. How to input a sub result into a range
    By rockyire in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2007, 12:35 PM

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