#value

azizrasul

Well-known Member
Joined
Jul 7, 2003
Messages
1,304
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
I have inherited a spreadsheet in which I have the following issue.

I have the following formula in cell AM7 and it's a range called Multiple_CP_Levels_Val

=INDEX(TopUp_Levels,Starting_TU_Level_Choice)

Cell Value in Cell
AM10 Yes
AM11 No

Cells AM10 to AM11 is called the range Multiple_CP_Levels but also TopUp_Levels.

Cell AM6 is Starting_TU_Level_Choice.

I have a form where if a check box is ticked, then I have

Cell Value in Cell
AM6 TRUE
AM7 Yes

but if the check box is unticked, then I have

Cell Value in Cell
AM6 FALSE
AM7 #VALUE
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
That works by removing #VALUE and getting "" instead, but I really want is that if the check box is unticked, to have

Cell Value in Cell
AM6 FALSE
AM7 No

If I use

=IFERROR(INDEX(TopUp_Levels,Starting_TU_Level_Choice),"No")

then it works but is this the essence of how it should work, am I not 'fixing' it rather then the formula picking up the value of No from cell AM11 when check box is unticked just as it does when Yes appears when the check box is ticked.
 
Upvote 0
Then you need to determine what gets set when the check box is ticked and check for the opposite.
You havent said what happens when the check box is ticked so I have to supply an alternative method.

For example when you tick the check box maybe A1 is set to 1, otherwise 0
Then it would be

IF(A1=0,"No",INDEX...)

So base something on this depending what the check box is doing when it's ticked.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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