IF then

Nawar Jameel

New Member
Joined
Aug 14, 2023
Messages
4
Office Version
  1. 2013
Platform
  1. Windows
Hello Everyone

Hoping you are all well

Can you help me please

I need a formula in column-E to copy the value in column-R but if column-R is empty then copy value from column-M and if column-M is empty then copy value from column-H and finally if column-H is also empty then the formula in column-E will only return null.

I tried the below two formulas but unfortunately both of them did not workout.

=IF(R65="",M65,IF(M65="",H65,IF(H65="","")))

=IF(NOT(ISBLANK(H63)),H63,IF(NOT(ISBLANK(M63)),M63,IF(NOT(ISBLANK(R63)),R63,"")))

Example of sheet:

1692054357256.png


Thank you all
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
In cell E65
Excel Formula:
=IF(ISBLANK(R65),IF(ISBLANK(M65),IF(ISBLANK(H65),"Null",H65),M65),R65)
 
Upvote 0

Forum statistics

Threads
1,215,651
Messages
6,126,025
Members
449,281
Latest member
redwine77

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