IF(A=A;Do Something;Do nothing (leave value as it is, so do not alter to null or space)

brundela

New Member
Joined
Dec 3, 2018
Messages
1
A given table:

ABCDEF
1H1
2H
3H
4H

<tbody>
</tbody>

Depending on a value I do want to change the values in col-1, 2, 3 or 4. Lets say:
A1, A2, A3 & A4 contains the formula: IF($F$1=1;"H";"")
B1, B2, B3 & B4 contains the formula: IF($F$1=2;"R";"")

By changing the value of F1 in 2 the table will looks like:

ABCDEF
1R2
2R
3R
4R

<tbody>
</tbody>

But I want it to be:

ABCDEF
1HR2
2HR
3HR
4HR

<tbody>
</tbody>

Is there a way to achieve this?​
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,821
Messages
6,121,762
Members
449,048
Latest member
excelknuckles

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