Repeat combined cell value only until new value is seen or reached

MrDeals

New Member
Joined
Nov 26, 2018
Messages
5
Hi,

I would like to bring over the data from Column C into Column A.
Only the IF the cell matches to be a SKU:
I want to to drag down the formula and excel should copy in the SKU, UNTIL it reaches the next matching SKU and then continue

Using the following, only gives me corresponding row, but leaves the non-matching rows empty
=IF(B2="SKU:",C2,"")


Thank You
 

Attachments

  • excel.JPG
    excel.JPG
    100.5 KB · Views: 37

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
How about
Excel Formula:
=IF(B2="SKU:",C2,B1)
 
Upvote 0
Oops, it should be A1 at the end not B1
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,237
Messages
6,123,805
Members
449,127
Latest member
Cyko

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