IF formula results in no action

mombo

New Member
Joined
Sep 15, 2017
Messages
7
I'm new to writing formulas in Excel, and I can't figure out how to have nothing change in one cell if the contents of another don't meet my criteria.

IF (the value in B1) ISODD, C1=B2; if the value in B1 is NOT odd, take no action.

How can I do that? I'm using :( Excel 97!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Put this in C1
=IF(ISODD(B1),B2,"")
 
Upvote 0
You have to install the Analysis Toolpak. for the formula in post#2 to work
 
Last edited:
Upvote 0
You have to install the Analysis Toolpak. for the formula in post#2 to work

I have the Analysis Toolpak already installed, but when I copied and pasted your formula, I got an error message (#VALUE!) but not the solution I was hoping for.

Any other recommendations?
 
Upvote 0
I DID IT!!! I had the values in the wrong columns, or the wrong cell references in the formula, but after I corrected things, IT WORKED!!! Thank you so much!!!
 
Upvote 0
Glad you got it working & thanks for the feedback
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
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