Formula Question

caritx

New Member
Joined
Dec 1, 2009
Messages
34
I have the following data in Columns A and B and I want C to be my formula.

Column A------- Column B
4152 -------------Y
(blank) ------------N
1524 --------------N
(blank)------------- Y

(-------------)just to show column separation

I want my formula to first look at column A and if there is a value bring that data over. If not look at column B and if there is a Y bring over "text1" if there is an N bring over "Text2".

I thought this would be a simple nested IF but I don't know how to tell it to just bring over the value in the cell. Column A might all be the same or be different. Thanks in advance I really appreciate any help you can give!
 

Some videos you may like

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Watch MrExcel Video

Forum statistics

Threads
1,123,369
Messages
5,601,223
Members
414,434
Latest member
Riyen

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
Top