Related:

- Change cell list values when another cell is changed
- Changing values in one cell depending on drop down list values in another cell ✓ - Forum - Excel
- List values between two numbers excel - Forum - Programming
- How to create multiple workbooks from a list of cell values ✓ - Forum - Excel
- Change text in cell if other cells have any values ✓ - Forum - Word
- What values are possible for cells that contain numbers, dates and text? ✓ - Forum - Excel

## 6 replies

TrowaD

- Posts
- 2829
- Registration date
- Sunday September 12, 2010
- Status
- Moderator
- Last seen
- November 22, 2021

Hi Rolnaashch,

You can do so by creating named ranges and then use the function INDIRECT to refer to them.

In your case you also need the function IF, since the numerical values you use, can't be used for named ranges.

Let us know if you need further assistance.

Best regards,

Trowa

You can do so by creating named ranges and then use the function INDIRECT to refer to them.

In your case you also need the function IF, since the numerical values you use, can't be used for named ranges.

Let us know if you need further assistance.

Best regards,

Trowa

Rolnaashch

Thank you very much for your help.

It appears i migh bite more than what i can chew here. :D

Because my finale goal would be the same method but on multiple structures.

Writing a program in delphy would be probably more effective and seemingly easier. I cannot tell.

Here is this table, where there are 3 main values.

https://images.audiojudgement.com/2016/03/4th-order-bandpass-ripple.jpg

The first dropdown list would include the 3 main S values.

Then fog eg. the first value has a list of Qbp values. So those Qbp values should load into a dorpdown list array again. So selecting the proper Qbp would load into different cells fL factor, and fH factor.

But yet again, i think i have to think about this way much more and longer time to learn and understand the possibilities.

Once again, much appretiation for the guiding help and time!

Best Regards,

-Roland

It appears i migh bite more than what i can chew here. :D

Because my finale goal would be the same method but on multiple structures.

Writing a program in delphy would be probably more effective and seemingly easier. I cannot tell.

Here is this table, where there are 3 main values.

https://images.audiojudgement.com/2016/03/4th-order-bandpass-ripple.jpg

The first dropdown list would include the 3 main S values.

Then fog eg. the first value has a list of Qbp values. So those Qbp values should load into a dorpdown list array again. So selecting the proper Qbp would load into different cells fL factor, and fH factor.

But yet again, i think i have to think about this way much more and longer time to learn and understand the possibilities.

Once again, much appretiation for the guiding help and time!

Best Regards,

-Roland

TrowaD

- Posts
- 2829
- Registration date
- Sunday September 12, 2010
- Status
- Moderator
- Last seen
- November 22, 2021

Hi Roland,

From your table I don't see how selecting a Qbp value would result in a different selection of fL factors.

Wouldn't selecting a S value of 0.7 result in the following 3 dropdown lists?

The first being Qbp with the 14 values from 0.4507 to 1.1321

The second being fL with the 14 values from 0.2167 to 0.8277

The third being fH with the 14 values from 0.9373 to 1.5483

When selecting a S value of 0.6, then those dropdown lists would change.

The first being Qbp with the 14 values from 0.5258 to 1.3207

The second being fL with the 14 values from 0.2326 to 0.9266

The third being fH with the 14 values from 1.1886 to 1.8826

Isn't this what you are looking for, or am I missing something?

Best regards,

Trowa

From your table I don't see how selecting a Qbp value would result in a different selection of fL factors.

Wouldn't selecting a S value of 0.7 result in the following 3 dropdown lists?

The first being Qbp with the 14 values from 0.4507 to 1.1321

The second being fL with the 14 values from 0.2167 to 0.8277

The third being fH with the 14 values from 0.9373 to 1.5483

When selecting a S value of 0.6, then those dropdown lists would change.

The first being Qbp with the 14 values from 0.5258 to 1.3207

The second being fL with the 14 values from 0.2326 to 0.9266

The third being fH with the 14 values from 1.1886 to 1.8826

Isn't this what you are looking for, or am I missing something?

Best regards,

Trowa

Rolnaashch

Hello Trowa,

Thank you again for your kind reply and the time to take a look at my issue/plan.

Well, the idea would be the following:

There are two values which need to be determined depending on "S" and "Qbp" values.

fL is the low frequency roll-off, and fH is the high frequency roll-off.

The formulas to calculate those are these:

fL = Fs / Qts * (fL factor)

fH = Fs / Qts * (fH factor)

[Fs and Qts is given by the manufacturer of the speaker]

So there would be 2 dropdown list. One is "S" and the other is "Qbp".

For example if i would select "S=0,6" then the "Qbp" list would start with the "0,5258" - column and below.

Then selecting a value from the "Qbp" dropdown would give an automatic value to "fL factor" and "fH factor" cells. So making another automated calculations for other values as well. But these values are the bases for almost all the parameters.

Thank you for your time, but i don't want to stress this out too much, since i don't know if this would be possible at all.

Thank you again for your kind reply and the time to take a look at my issue/plan.

Well, the idea would be the following:

There are two values which need to be determined depending on "S" and "Qbp" values.

fL is the low frequency roll-off, and fH is the high frequency roll-off.

The formulas to calculate those are these:

fL = Fs / Qts * (fL factor)

fH = Fs / Qts * (fH factor)

[Fs and Qts is given by the manufacturer of the speaker]

So there would be 2 dropdown list. One is "S" and the other is "Qbp".

For example if i would select "S=0,6" then the "Qbp" list would start with the "0,5258" - column and below.

Then selecting a value from the "Qbp" dropdown would give an automatic value to "fL factor" and "fH factor" cells. So making another automated calculations for other values as well. But these values are the bases for almost all the parameters.

Thank you for your time, but i don't want to stress this out too much, since i don't know if this would be possible at all.

TrowaD

- Posts
- 2829
- Registration date
- Sunday September 12, 2010
- Status
- Moderator
- Last seen
- November 22, 2021

Hi Roland,

It is definitely possible!

This is how I set up your sample data:

The results are in columns L and M.

Ripple result in M2:

I named range "A2:A4"

Qbp result in M3:

I named range "B2:B15"

I named range "E2:E15"

I named range "H2:H15"

Then in data validation used the formula:

fl result in M4:

Use the formula:

fh result in M5:

That should do it.

Here is my test file for reference:

https://wetransfer.com/downloads/128aef771bc552899b949cb1171826c520210705162803/253321

Best regards,

Trowa

It is definitely possible!

This is how I set up your sample data:

The results are in columns L and M.

Ripple result in M2:

I named range "A2:A4"

*ripple*and then used the formula:**=INDIRECT("ripple")**in data validation.Qbp result in M3:

I named range "B2:B15"

*qbpl7*I named range "E2:E15"

*qbpl6*I named range "H2:H15"

*qbpl5*Then in data validation used the formula:

**=IF($M$2=0.7,INDIRECT("qbpl7"),IF($M$2=0.6,INDIRECT("qbpl6"),IF($M$2=0.5,INDIRECT("qbpl5"))))**fl result in M4:

Use the formula:

**=IF($M$2=0.5,VLOOKUP($M$3,$H$2:$J$15,2,0),IF($M$2=0.6,VLOOKUP($M$3,$E$2:$G$15,2,0),IF($M$2=0.7,VLOOKUP($M$3,$B$2:$D$15,2,0))))**fh result in M5:

**=IF($M$2=0.5,VLOOKUP($M$3,$H$2:$J$15,3,0),IF($M$2=0.6,VLOOKUP($M$3,$E$2:$G$15,3,0),IF($M$2=0.7,VLOOKUP($M$3,$B$2:$D$15,3,0))))**That should do it.

Here is my test file for reference:

https://wetransfer.com/downloads/128aef771bc552899b949cb1171826c520210705162803/253321

Best regards,

Trowa

Rolnaashch

Wow, you are a Legend! Incredible. I must analyze and learn from the pieces of your solution! I arrived home too late, and i am super tired to understand what is going on :D

But seems working in a sudden look. I will return to it tomorrow!

Much Appretiation for your time, and kind efforts!

Best Regards,

Roland

But seems working in a sudden look. I will return to it tomorrow!

Much Appretiation for your time, and kind efforts!

Best Regards,

Roland