populating fields automatically.

AndyGray

New Member
Joined
May 31, 2017
Messages
30
Hi guys. I'm trying to generate a CSV which with a variable product formation and need to auto populate a field....


Table below shows how my layout works, I need to read collumn A and if variation is followed by variable, then collumn C needs to be populated with collumn B.
If variation changes to Variable (next product) it needs to leave row C blank for the row saying variable and then copy tow B into row C for the next one down?

not sure how to explain that better, but hopefully the table will be of help.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Type
[/TD]
[TD]Sku
[/TD]
[TD]Parent
[/TD]
[/TR]
[TR]
[TD]variable
[/TD]
[TD]SKUAlphabet
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]variation
[/TD]
[TD]ABC
[/TD]
[TD]Skualphabet
[/TD]
[/TR]
[TR]
[TD]variation
[/TD]
[TD]DEF
[/TD]
[TD]Skualphabet
[/TD]
[/TR]
[TR]
[TD]variation
[/TD]
[TD]GHI
[/TD]
[TD]Skualphabet
[/TD]
[/TR]
[TR]
[TD]variable
[/TD]
[TD]SKUNumber
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]variation
[/TD]
[TD]1234
[/TD]
[TD]Skunumber
[/TD]
[/TR]
[TR]
[TD]variation
[/TD]
[TD]5678
[/TD]
[TD]Skunumber
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Thanks, i think i'd been over thinking this, but now i've seen a simple if statement configured correctly It's much easier than i expected it to be.

Many thanks.
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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