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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,813
Messages
6,121,706
Members
449,048
Latest member
81jamesacct

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