Can anyone help me with this? (Loop problem)

Kaoss7

New Member
Joined
Sep 12, 2010
Messages
7
2ap16x1s4


Hi

Please could someone help me? I`ve the situation demonstrated on Fig1,


image host


..and need to get a result like the Fig2:


wordpress image upload

Thanks for your help
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
There is no automatic way of changing cell entries. Or do you want to generate a copy of the sheet in another sheet by formulas to do this? Formatting can be done via Conditional Formatting.
 
Upvote 0
Hi, thank you for you reply.
In fact, I would like to run a VBA script to "see" the range A1:W35, up to down, left to right, and for each "0,130,530,0" sequence find, change the letter "B" above to "99" and for each "480,0,180,0" sequence find, change the letter "A" above to "99". I can`t figure out how to achieve this by conditional formatting. A VBA macro is more suitable, right?
 
Upvote 0
To actually change cell contents, yes, a VBA macro is needed. Have you done any VBA ... have you done any research into how to write some VBA to do this?
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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