• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Data Validation Selection with Auto Population

JuliusV

Member
Hi All,

I am trying to figure out how to allow a user to select certain cells and based on the cell selection auto populate select cells in the row.

I know you can make a table and use index match to populate the cells; however, my issue is that there is an order of operations for the checks to occur before the fields can be populated.

On the attached spreadsheet, I highlighted the cells that a user will populate and the remaining cells that would be automatically filled based on a users selection.

There are a lot of scenarios to consider from the standpoint of demonstrating all permutations; however, the actual logic is quite simple.

Any help in figuring out how I can get the same auto population that I have on sample information without doing it manually would be great.

On the spreadsheet, I list the Order of Operations for the Checks (that are followed in that order)
1) Column Purchase before Final Date
2) Unique ID
3) Type of Purchase

Then, I list the Scenarios and Outcomes based on the user selection for those 3 variables:
1) Column Purchase before Final Date = Yes - Automatically populate the columns "Purchase Matches Unique ID" and "For Credit Cards Only - Purchase Validated" with n/a. Automatically populate "Purchase Approval Status" with approved.
2) Unique ID = 1 or 2 - Automatically populate "Purchase Approval Status" with approved.
3) Type of Purchase = Cash - Automatically populate "For Credit Cards Only - Purchase Validated" with n/a.

Thanks for the help,

JuliusV
 

Attachments

  • Chandoo Auto Populate Based on Cells Selected_091415_v1.xlsx
    9.9 KB · Views: 9
Julius,

Here's what I've got:

in cell F3:

=IF(B3="yes","n/a","")​

in cell G3:

=IF(OR(B3="yes",AND(B3="no",D3="cash")),"n/a","")​

in cell H3:

=IF(OR(B3="yes",AND(B3="no",C3=2)),"approved","")​


See attached.
 

Attachments

  • julius1.xlsx
    10.6 KB · Views: 4
Hi Eibi,

Thank you for the advice; however, the issue is that the data validation cells disappear using formulas. I am trying to do something more along the lines of performing a data validation of a drop down list based on a 2nd validation list.

Thanks,

JuliusV
 
Back
Top