IF

RussChilds

Active Member
Hi,
I have a column A which states either Yes or No. I want to set up column B to say IF column = Yes then £20 but if coulmn A = No then £40.

Many thanks!!!

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

mikerickson

MrExcel MVP
Does = IF(A1="Yes",20,40) do what you want?

VoG

Legend
Try

=IF(A1="Yes",20,IF(A1="No",40,""))

and format the result cells as Currency.

Thanks!!!!!!!!

stanleydgromjr

Banned
RussChilds,

Excel Workbook
AB
1Yes\$20
2No\$40
3
Sheet1

Format cells in column B for Pounds.

Have a great day,
Stan

Replies
3
Views
95
Replies
9
Views
175
Replies
2
Views
99
Replies
6
Views
86
Replies
0
Views
171

1,191,630
Messages
5,987,774
Members
440,109
Latest member
mitra2022

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.

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

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