sort of simple if/then

erutherford

Active Member
Joined
Dec 19, 2016
Messages
458
I have a valve(number) in H15. If that value = "4", then I would like to auto fill cell C15 with "ok" . I was trying to put the formula in another cell (J15) so if a "4" is not entered I can enter a custom description in C15. Clear as mud?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
you will need VBA to add a function in C15
=IF( H15=4,"OK"O,"")
and then be able to overright with a custom text as that will overwrite the function

I dont provide VBA solutions here

ALSO "4" is text and will not be seen as a NUMBER
 
Upvote 0
Solution
you will need VBA to add a function in C15
=IF( H15=4,"OK"O,"")
and then be able to overright with a custom text as that will overwrite the function

I dont provide VBA solutions here

ALSO "4" is text and will not be seen as a NUMBER
thank you for the quick reply. I was trying to avoid VBA just to keep it really simple, but I do remember seeing solution using VBA. I'll look again before posting help. Thanks again
 
Upvote 0

Forum statistics

Threads
1,224,943
Messages
6,181,913
Members
453,071
Latest member
Gizmo2024

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