Pulling data from the last column

BrianBank

New Member
Joined
Oct 30, 2014
Messages
28
Hi All,

An easy question for all of you.

Imagine I have 4 columns A2, B2, C2, D2. Say I have data in B2 and D2, I always want to have the result in A2 with the data from the furthest right cell. In this case it would be D2.

What's the formula I put in A2?

Thanks again!
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
One way:
Code:
=IF(D2<>"",D2,IF(C2<>"",C2,IF(B2<>"",B2,"")))
 
Upvote 0
Hi :)

I am no formula expert but I did some searching and came up with this formula which if placed in A1 will give you the value of the furthest cell to the right up to Column RSV. I played around a bit and it seems to work. Lol

Maybe someone else can tell you if there is an issue with this formula or correct it if I posted it wrong. If it works for you then just copy the formula down Column A

Here it is:

=LOOKUP(2,1/(B1:RSV1<>""),B1:RSV1)

Good Luck,
Mark
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

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