+ Reply to Thread
Results 1 to 13 of 13

Need assistance with returning another column result in the same If(or Statement

  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Need assistance with returning another column result in the same If(or Statement

    Hi,


    Here is my formulae...

    Please Login or Register  to view this content.

    For the above portion of the IF(OR .... that is "Unidentified Existing" , I want to Vlookup on another column as well as what is listed to include in the formulae. What would be the logice to do so? -the Column i would need returned is Col P

    What would I need to do to update?

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Need assistance with returning another column result in the same If(or Statement

    Could you send the Workbook?

    The "IFs" you could just organize with one VLOOKUP

    Something like:

    Please Login or Register  to view this content.
    Last edited by Gatti; 12-22-2015 at 02:01 PM.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need assistance with returning another column result in the same If(or Statement

    Do you want the lookup as part of the logical test, or as part of the result?

    If part of the logical test, what do we compare to?

    Quote Originally Posted by swade730 View Post
    What would I need to do to update?
    Your post, it's just a little to brief to make sense.

  4. #4
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Re: Need assistance with returning another column result in the same If(or Statement

    Quote Originally Posted by jason.b75 View Post
    Do you want the lookup as part of the logical test, or as part of the result?

    If part of the logical test, what do we compare to?



    Your post, it's just a little to brief to make sense.
    it would need to be as part of the logical result but based on that condition where it reads Unidentified Existing, I would need it to return a different column. So part of the all logical test, but one part is returning a different column

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need assistance with returning another column result in the same If(or Statement

    I've shortened the first part of the formula to make it a bit easier to follow.

    =IFERROR(LOOKUP($S539,{"RBG","Financial ","Pub"}),IF(OR($C539="Unidentified EXISTING CLIENT",$C539="Unidentified NEW CLIENT"),VLOOKUP($AC539,Tags!$B$4:$P$534,IF($C539="unidentified exising",15,1),FALSE),VLOOKUP($C539,Tags!$A$4:$L$534,2,FALSE)))

    Criteria removed from OR() function and logical test used in column argument of VLOOKUP.

  6. #6
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Re: Need assistance with returning another column result in the same If(or Statement

    Quote Originally Posted by jason.b75 View Post
    I've shortened the first part of the formula to make it a bit easier to follow.

    =IFERROR(LOOKUP($S539,{"RBG","Financial ","Pub"}),IF(OR($C539="Unidentified EXISTING CLIENT",$C539="Unidentified NEW CLIENT"),VLOOKUP($AC539,Tags!$B$4:$P$534,IF($C539="unidentified exising",15,1),FALSE),VLOOKUP($C539,Tags!$A$4:$L$534,2,FALSE)))

    Criteria removed from OR() function and logical test used in column argument of VLOOKUP.

    Everytime I hit enter, the dialougue box pops up. Also, why the '15'?

  7. #7
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need assistance with returning another column result in the same If(or Statement

    Excel has many different dialogue boxes, I can't see which one you are getting from here.

    You said column P, which is the 15th column in the range B:P

  8. #8
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Re: Need assistance with returning another column result in the same If(or Statement

    Quote Originally Posted by jason.b75 View Post
    I've shortened the first part of the formula to make it a bit easier to follow.

    =IFERROR(LOOKUP($S539,{"RBG","Financial ","Pub"}),IF(OR($C539="Unidentified EXISTING CLIENT",$C539="Unidentified NEW CLIENT"),VLOOKUP($AC539,Tags!$B$4:$P$534,IF($C539="unidentified exising",15,1),FALSE),VLOOKUP($C539,Tags!$A$4:$L$534,2,FALSE)))

    Criteria removed from OR() function and logical test used in column argument of VLOOKUP.
    Is it possible to do this with the OR() function not removed?

  9. #9
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need assistance with returning another column result in the same If(or Statement

    I haven't removed the OR function, just one part of it. My suggestion is based on the very little amount of information you have provided us with.

    Given that you provide answers to questions as aking them, I would have thought that you would understand the importance of providing sufficient information.

    If you're asking, can you have different results from one OR function, then the answer is no, for that you would need something on the lines of CHOOSE(MATCH(....

  10. #10
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Re: Need assistance with returning another column result in the same If(or Statement

    Quote Originally Posted by jason.b75 View Post
    I haven't removed the OR function, just one part of it. My suggestion is based on the very little amount of information you have provided us with.

    Given that you provide answers to questions as aking them, I would have thought that you would understand the importance of providing sufficient information.

    If you're asking, can you have different results from one OR function, then the answer is no, for that you would need something on the lines of CHOOSE(MATCH(....
    Im going to attach a workbook

  11. #11
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Re: Need assistance with returning another column result in the same If(or Statement

    The site won't allow me to attach a workbook, So I will try to clarify my original post in more detail...

    Here is my formulae...

    Please Login or Register  to view this content.
    The values being returned for the "Unidentified Existing" part are the same as the initial returned value...

    For Example if my data looks like this...

    Col A Col B
    Unidentified Existing Swade730
    Unidentified Existing Gatti

    My results (when the Unidentified Existing is TRUE) Should return the CORRESPONDING Col B value. - Instead I am only seeing Swade730.

    and Also, if the Unidentified Existing is True and there is no name returned from the column I want...how can I direct this to show the value from another column?

    What would I need to do to update?

  12. #12
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need assistance with returning another column result in the same If(or Statement

    I'm going to guess that you're using windows edge, that seems to have issues attaching files to the forum.

    Click the ... icon in the top right of the browser, then open with internet explorer and try again.

    VLOOKUP will only return the record from the first matching row, without seeing how you're getting to the next row, I don't know what to suggest.

  13. #13
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need assistance with returning another column result in the same If(or Statement

    Given that you have started several new threads since the last activity in this one, can we assume that this issue is now either resolved or abandoned?

+ 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: 5
    Last Post: 12-14-2015, 01:00 PM
  2. [SOLVED] If statement to select data - nested statement - assistance
    By petitesouris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-29-2015, 09:55 PM
  3. Index/Match returning 2nd/3rd/nth result in each proceeding column
    By tbar05 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-22-2015, 01:00 AM
  4. [SOLVED] "RIGHT" extracted value not returning correct result within IF statement
    By PlutoISaPlanet in forum Excel General
    Replies: 5
    Last Post: 11-05-2012, 04:02 PM
  5. Replies: 9
    Last Post: 08-28-2012, 03:59 PM
  6. IF statement to drop result in appropriate column
    By rhudgins in forum Excel General
    Replies: 10
    Last Post: 04-15-2010, 07:46 AM
  7. [SOLVED] Returning column header as result
    By Patricia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-06-2006, 12:40 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