Formula

Mitchjack

New Member
Joined
Nov 18, 2023
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
I am in need Of a formula that would be something like this thanks for your help
If columb B are = then combine columb A
 

Attachments

  • 31E93BA9-2F44-4242-BBA1-FB259D01EF2A.jpeg
    31E93BA9-2F44-4242-BBA1-FB259D01EF2A.jpeg
    75.6 KB · Views: 9

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
are you still using 2010 version

what happens if left is repeated further down the list
say between the right and up ?
say with G
would that then be
a,b,c,d,g
OR
just G later in the list if 1 only
 
Upvote 0
are you still using 2010 version
I'm thinking most likely since the OP only joined the forum a few hours before posting so would have only just entered that information. :)

@Mitchjack
Welcome to the MrExcel board!

Could use use something like column C below?
If not could you use that as a helper column (you could hide the column) and then use that to produce what I have in column D?

23 11 19.xlsm
ABCD
1ValueCategory
2ALeftABCDABCD
3BLeftBCD 
4CLeftCD 
5DLeftD 
6ERightEFGEFG
7FRightFG 
8GRightG 
9HUpHIJHIJ
10IUpIJ 
11JUpJ 
Combine
Cell Formulas
RangeFormula
C2:C11C2=A2&IF(B2=B3,C3,"")
D2:D11D2=IF(B2=B1,"",C2)
 
Upvote 0
are you still using 2010 version

what happens if left is repeated further down the list
say between the right and up ?
say with G
would that then be
a,b,c,d,g
OR
just G later in the list if 1 only
It would be a,b,c,d,,g
 
Upvote 0
I'm thinking most likely since the OP only joined the forum a few hours before posting so would have only just entered that information. :)

@Mitchjack
Welcome to the MrExcel board!

Could use use something like column C below?
If not could you use that as a helper column (you could hide the column) and then use that to produce what I have in column D?

23 11 19.xlsm
ABCD
1ValueCategory
2ALeftABCDABCD
3BLeftBCD 
4CLeftCD 
5DLeftD 
6ERightEFGEFG
7FRightFG 
8GRightG 
9HUpHIJHIJ
10IUpIJ 
11JUpJ 
Combine
Cell Formulas
RangeFormula
C2:C11C2=A2&IF(B2=B3,C3,"")
D2:D11D2=IF(B2=B1,"",C2)
D2 is what I think I’m looking for thank you
 
Upvote 0
Upvote 0
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,892
Members
449,194
Latest member
JayEggleton

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