Converting IF and Index statements

nancybrown

Well-known Member
Joined
Apr 7, 2005
Messages
868
I have a file with two tabs: Tab1 "2009 payment terms" is updated each week. Tab2 "2008 payment terms does not change.

On a weekly basis I insert a column in the 2009 payment terms and using the unique identifier Vendor ID, I add an index statement to being in matching 2008 payment terms from tab2 so I can have a side-by-side view of the 2008 and 2009 terms.

I then insert another column "Terms Status" and add an IF statement to show differences in the 2008 & 2009 terms and return values. It is something like: =IF(d2=c2,"No Change",IF(d2>c2,"Updated",IF(d2<c2,"Lost Terms")

My question . . . to avoid this repetitiveness, is the code to program a button to do these functions for me???

Any help would be appreciated.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,645
Messages
6,120,711
Members
448,984
Latest member
foxpro

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