Last Column Result

zinah

Active Member
Joined
Nov 28, 2018
Messages
353
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have below table that I need to get the last column from every single column as showing in Result Column. Is there any formula suggestion I can use to accomplish this?

Last Column.xlsx
ABCDEFGH
1Chain 1Chain 2Chain 3Chain 4Chain 5Chain 6Chain 7Result
2AA1A2A3A4A5A5
3BB1B1
4CC1C2C3C4C5C6C6
5DD1D2D3D3
6EE1E2E2
7FF1F2F3F4F4
Sheet1
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Here's some of many options:

Book29
ABCDEFGHIJK
1Chain 1Chain 2Chain 3Chain 4Chain 5Chain 6Chain 7Result
2AA1A2A3A4A5A5A5A5A5
3BB1B1B1B1B1
4CC1C2C3C4C5C6C6C6C6C6
5DD1D2D3D3D3D3D3
6EE1E2E2E2E2E2
7FF1F2F3F4F4F4F4F4
Sheet2
Cell Formulas
RangeFormula
I2:I7I2=LOOKUP(2,1/(B2:G2<>""),B2:G2)
J2:J7J2=INDEX(B2:G2,XMATCH("*",B2:G2,2,-1))
K2:K7K2=INDEX(B2:G2,COUNTA(B2:G2))
 
Upvote 0
Solution
For the formula in col J I would suggest using
Excel Formula:
=INDEX(B2:G2,XMATCH("?*",B2:G2,2,-1))
incase the "blank" cells contain a formula that returns ""
 
Upvote 0
Here's some of many options:

Book29
ABCDEFGHIJK
1Chain 1Chain 2Chain 3Chain 4Chain 5Chain 6Chain 7Result
2AA1A2A3A4A5A5A5A5A5
3BB1B1B1B1B1
4CC1C2C3C4C5C6C6C6C6C6
5DD1D2D3D3D3D3D3
6EE1E2E2E2E2E2
7FF1F2F3F4F4F4F4F4
Sheet2
Cell Formulas
RangeFormula
I2:I7I2=LOOKUP(2,1/(B2:G2<>""),B2:G2)
J2:J7J2=INDEX(B2:G2,XMATCH("*",B2:G2,2,-1))
K2:K7K2=INDEX(B2:G2,COUNTA(B2:G2))
Wow, all of these formula are amazing and I learned something new today! Thank you so much for your great support!
 
Upvote 0
For the formula in col J I would suggest using
Excel Formula:
=INDEX(B2:G2,XMATCH("?*",B2:G2,2,-1))
incase the "blank" cells contain a formula that returns ""
that also worked! thank you for your usual support :)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 1

Forum statistics

Threads
1,215,339
Messages
6,124,362
Members
449,155
Latest member
ravioli44

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