Possibly nested IF statement

Pam

New Member
Joined
Oct 31, 2002
Messages
5
I'm new in using IF statements. I have a simple one set up to say IF(C1>D1,C1,D1). I want to expound on that farther and say also IF C1=wmc, then D1. I've tried to write it and continue to get error messages. I'm not sure what I'm doing wrong.

Please Help!

Thanks!

Pam
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
It would help us to know what kinds of values are in C and D...
 
Upvote 0
=IF(OR(C1="wcm",C1<D1),D1,C1)
This message was edited by Mark W. on 2002-11-01 14:19
 
Upvote 0
They are numeric values with the exception of an occasionally WMC acronym.

Thanks!

Pam
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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