Change Index/Match after balance is used

ElCrow

New Member
Joined
Dec 16, 2019
Messages
1
Office Version
  1. 365
Platform
  1. Windows
1576525402990.png


I currently have a macro that goes through inserting formulas into cells and a for loop that changes the colors of negative values in the balance column.

I would like to change the "shop floor" value with one from further down in a list when the "Balance" is less than 0.
My thought for this was to create an empty row below the negative to add the value of the next "shop floor" but I am stuck on actually grabbing the next value in a list(the list is stored in a different tab("CCK inv.").

This is my first post so please let me know if you need any more details.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Any reason not to use conditional color formatting to color the negative values?

Re: I would like to change the "shop floor" value with one from further down in a list when the "Balance" is less than 0.
How much "further down the list"? What criteria defines what row should be selected?

Re: stuck on actually grabbing the next value in a list
The next different 'Shop Floor" value? The shop floor value in the different tab one row below the same row as this tab? Is that list always sorted the same way?
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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