Formula to consolidate two different columns

gigglesxx

New Member
Joined
Feb 14, 2018
Messages
5
Hi,

I am trying to create a formula which looks at two different columns (1 and 2 in this example) and returns the value if there is one in either column 1 or column 2. And if both columns are empty, then leave the cell empty.

For example for the first row, the formula would return $205 and for the second row it would return $204. I am trying to consolidate the two columns into the one

Any help would be much appreciated!

average weighted rate (all)12
$205
$204
$216
$200
$220
$300
$290
$290
$300

<tbody>
</tbody>

<colgroup><col><col><col></colgroup><tbody></tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Re: Formula to consolidate two different columns. help!

Columns A,B,C
Excel 2016 (Windows) 32 bit

Result​
$205​
$205​
$204​
$204​
$216​
$216​
$200​
$200​
$220​
$220​
$300​
$300​
$290​
$290​
$290​
$290​
$300​
$300​

<tbody>
</tbody>
Sheet: Sheet2

<tbody>
</tbody>

Formula in C2 copied down
Excel 2016 (Windows) 32 bit
=IF(ISBLANK(A2),B2,A2)​

<tbody>
</tbody>
Sheet: Sheet2

<tbody>
</tbody>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,025
Messages
6,122,731
Members
449,093
Latest member
Mnur

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