number-SOLVED

eric.l.bohon

Board Regular
Joined
May 8, 2006
Messages
149
Question, How do I get a 1 to be inputted in with a checked box. What I want to do is if i check the box it will put a 1 in the field with and expression. This is the expression that I tried using but I am getting a error: Q/U: IIf([CO DATA]![M16 QUALIFIED]="YES",1,0). any help.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
If you are using a Check Box, a checked box is equal to -1.

So you could use:
IIf([CO DATA]![M16 QUALIFIED]=-1,1,0). any help.
or maybe even:
[CO DATA]![M16 QUALIFIED]*-1
instead (I am unable to check this second one right now, but I believe unchecked defaults to 0, so it should work to multiply by -1.
 
Upvote 0

Forum statistics

Threads
1,214,570
Messages
6,120,296
Members
448,954
Latest member
EmmeEnne1979

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