Data Validation List based on value in a cell

Yecart77

New Member
Joined
Nov 8, 2022
Messages
20
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
Hi All,

I am trying to install xl2bb but and having issues, I hope this One Drive link works, please let me know if it doesn't work.

https://1drv.ms/x/s!AjDNnHmvN7vpjWN6bN904HtsWa2g?e=iggjpH

In Excel 2016, I am wanting to create a Data Validation (DV) List in Column D based in the value in Column C.

The value in Column C is returned via a formula.

If the value in Column C is "Single", I would like a DV list containing three options in G5,G6,G7.

If the value in Column C is "Batch", I would like a DV list containing two options in H5,H6.

Many thank yous to anyone with ideas. :)
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You could try:

Make the range G5:G7 a table and name it 'Single'
Make the range H5:H6 a table and name it 'Batch'

For the DV formula try:
Excel Formula:
=INDIRECT(C3)

Book1
BCDEFGHI
2
3SingleTable Name:SingleBatch
4BatchSingleBatch
514
625
73
8
Sheet1
Cell Formulas
RangeFormula
C3C3="Single"
C4C4="Batch"
Cells with Data Validation
CellAllowCriteria
D3:D4List=INDIRECT(C3)
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top