+ Reply to Thread
Results 1 to 5 of 5

Understanding how a formula works

  1. #1
    Registered User
    Join Date
    05-17-2021
    Location
    Houston
    MS-Off Ver
    365
    Posts
    2

    Understanding how a formula works

    Hello,

    Could someone please explain how the if{1,0} works in the formula below and also how the {Comments/remarks,Name,Address,DOB,POB,Nationality,Oracle ID…}2 works ?

    I understand that the curly braces are used for arrays...just do not understand how they apply to this formula.


    =VLOOKUP(Unique Transaction ID column&Details Required column, if{1,0},Previous Unique Transaction ID column&Previous Details Required column,{Comments/remarks,Name,Address,DOB,POB,Nationality,Oracle ID…}2,0)

    Thank you !!

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Understanding how a formula works

    Hi mrawst:

    Welcome to the forum.

    It might be easier to understand what the formula's doing by seeing it in action. Can you upload a sample of a sanitized workbook? Instructions are at the top of this page. From what I found though, it allows for the searching for multiple conditions and dependent results based upon the selection.

    Thx.
    Pete
    Last edited by PeteABC123; 05-17-2021 at 01:57 PM.

  3. #3
    Registered User
    Join Date
    05-17-2021
    Location
    Houston
    MS-Off Ver
    365
    Posts
    2

    Re: Understanding how a formula works

    Hello Pete

    Unfortunately I am unable to upload the workbook due to sensitive data. I am hoping someone can explain those 2 segments in the formula in a general sense relative to how a vlookup would perform.

    Thank you !

  4. #4
    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,917

    Re: Understanding how a formula works

    Quote Originally Posted by mrawst View Post
    Hello Pete

    Unfortunately I am unable to upload the workbook due to sensitive data. I am hoping someone can explain those 2 segments in the formula in a general sense relative to how a vlookup would perform.

    Thank you !
    Thats why you were asked for a sanitized (clean/dummy/mock) file
    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

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,412

    Re: Understanding how a formula works

    They usualy using IF({0,1}...to create a new range from given multi ranges.

    See my example.

    In this sample, I am using 2 columns, so you can see it simple. But for the big range, it would be helpful.
    Attached Images Attached Images
    Attached Files Attached Files
    Quang PT

+ 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. [SOLVED] Need help understanding why an index match array with max(sumif(... works
    By joeslih in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-11-2017, 08:15 PM
  2. Understanding why the code works
    By coys1717 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-21-2014, 05:42 AM
  3. [SOLVED] Need help understanding why this line of code works.
    By jbwitty in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-26-2013, 01:01 AM
  4. Understanding how this [formula] works
    By jmendenhall22 in forum Excel General
    Replies: 2
    Last Post: 05-24-2013, 08:47 PM
  5. does not understanding how it works
    By chngbh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2011, 01:03 AM
  6. Understanding How Counting Uniques Works
    By nothingisthis in forum Excel General
    Replies: 6
    Last Post: 04-02-2010, 01:58 PM
  7. understanding how FindFirst works.
    By gshock in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-05-2008, 05:46 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