+ Reply to Thread
Results 1 to 9 of 9

Multiple validation (If statement)

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Multiple validation (If statement)

    This is my best effort but it dosen't work

    =IF(MATCH($B$5,vMax_Capacity.csv!$A:$A,0),AND(MATCH($A$10,vMax_Capacity.csv!$B:$B,0),"true")
    This will get me a "TRUE" output


    Here is when i go wrong.... When i get a validation match I want to have the value from that row and colum F inputed in the cell
    =IF(MATCH($B$5,vMax_Capacity.csv!$A:$A,0),AND(MATCH($A$10,vMax_Capacity.csv!$B:$B,0),INDEX(vMax_Capacity.csv!$F:$F,$B$9,$A$10)))


    Example:


    B5= A
    A10= B

    Colum A Colum B Colum F
    Row9 A B 123 <----------My Output

    ~J

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Multiple validation (If statement)

    Can You upload the files, so i could figure it out better

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Multiple validation (If statement)

    So here is an example

    I need to get the Pool capacity if Site Name and pool's name are equal to the B5 and B11 to B15


    SO if Site = "Data Center" and Pool = "Car" I should get on the "97" on the cell


    File is attached
    Attached Files Attached Files

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Multiple validation (If statement)

    =VLOOKUP($B$5;IF(DataSheet!B2:B12=A11;DataSheet!A2:C12;"");3;FALSE)

    tRY THIS

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Multiple validation (If statement)

    =IFERROR(VLOOKUP($B$5;IF(DataSheet!B2:B12=A11;DataSheet!A2:C12;"");3;FALSE);"Not Avalaible")

    or u can add error trapping here

    Don't forget Replace ";" with Comma of course ","

    Coz my computer use different setting

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Multiple validation (If statement)

    Here the files
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Multiple validation (If statement)

    So in my actual sheet ...(I have multiple)...I enter the code it seems right but when i do the CSE comman it does not convert have you seen this before?

    =IFERROR(VLOOKUP($B$5,IF(vMax_Capacity.csv!$B2:$B100=A11,vMax_Capacity.csv!$A$2:$G$150,""),6,FALSE),"Not Available")


    Thanks in Advance

    ~J

  8. #8
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Multiple validation (If statement)

    I try to modification your table

    Regards
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Multiple validation (If statement)

    Thx...I don't know what it was but if I hit "F2" and the CSE it works ....weird but it works ...thanks

  10. #10
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,373

    Re: Multiple validation (If statement)

    U Welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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