What formula should be used?

fishcakes

New Member
Joined
Jun 20, 2016
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I am trying to create a formula that will achieve the following...

If cell B5 is populated with CAD, then Cell A9 will be populated with the information in Cell B4 (1234)
or
If cell B5 is populated with USD, then Cell B9 will be populated with the information in Cell B4 (1234).

So something likes, if CAD is selected in B5....

1705463299279.png




If USD is selected in B5....

1705463261744.png
 

Attachments

  • 1705462647575.png
    1705462647575.png
    8.3 KB · Views: 2
  • 1705462826889.png
    1705462826889.png
    6.1 KB · Views: 2
  • 1705463187894.png
    1705463187894.png
    6.9 KB · Views: 2

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Something like this?

Book1
AB
1
2
3
4Data Code:1234
5CAD or USDUSD
6
7
8Code (CAD)Code (USD)
9 1234
Sheet1
Cell Formulas
RangeFormula
A9A9=IF(B5="CAD",B4,"")
B9B9=IF(B5="USD",B4,"")
Cells with Data Validation
CellAllowCriteria
B5ListCAD,USD
 
Upvote 0
Solution

Forum statistics

Threads
1,215,348
Messages
6,124,423
Members
449,157
Latest member
mytux

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