Formula Help Please

Jfloyd80

New Member
Joined
Jan 14, 2016
Messages
14
Hi,

I was wondering if there was a formula that could automatically duplicate the first KeyLetter for each row until it changes then repeat?

ITEM LETTERKEY LETTERKEY DUPE
Item 1 A A
Item 2 A
Item 3 A
Item 4 B B
Item 1 B
Item 1 C C


Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Let's say that your LETTERKEY field is in column C and the DUPE column is in column D, and your first row of data is on row 2.
Then enter this formula in cell D2 and copy down for all rows.
Code:
=IF(C2=C1,"",C2)
 
Upvote 0
If you are just trying to fill in the gaps there is an easier way...
Are you looking for a "ditto" effect? Have each cell that is blank equal the cell above it?
 
Upvote 0
Did you see/try my solution up in the first response?
If it does not work for you, please explain why.
 
Upvote 0
Did you see/try my solution up in the first response?
If it does not work for you, please explain why.

It doesn't work. It's because the spaces in the fake table I created were removed. It was supposed to look like this. Sorry for the confusion.

ITEM LETTERKEY LETTERKEY DUPE
Item 1....A.......................A
Item 2.............................A
Item 3.............................A
Item 4....B.......................B
Item 1.............................B
Item 1....C.......................C
 
Upvote 0
Step 1 - Select the range tha contains blanks
Step 2 - Press F5 (or Control G) - Go to window opens
Step 3 - Click "Special..." Button
Step 4 - In GOTO Special window choose "Blanks" and click OK
Step 5 - in active cell type "=" and click cell above active cell
Step 6 - Press Ctrl and Enter to put = cell above in every cell
Step 7 - Select range you selected in Step 1
Step 8 - Copy
Step 9 - Paste as Values
Done
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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