Formula Stump

Henry

Board Regular
Joined
Mar 7, 2002
Messages
180
Hi One and All:

I have Employee Status In A1-A25. The Codes used are Active, In Process, Open, Separated.

B1-B25 Contains Emp. IDs.

C1-25 Contains Salary.

Each Pay Period, I get "Active" updates to Salary (C1-C25). These updates go into C1-C25 and are only for those Actively on the payroll.

I initially populated C1-C25 using the new data via a VLookUp. This work great the first time only--then I got rid of the Formulas. Bi-Weekly updates should only impact "Active" IDs since Codes Open, In Process are not hired (No Ids), and Separated never change.

When I run the VLookUp, it updates all Actives salarys as expected, but it also zeros out the other Codes Salaries since those IDs aren't in this bi-weekly Active List.

In a nutshell, I want the Formula to read the VLookUp (actives only)and then, if the Emp ID is not in the LookUp List, disregard and leave whatever Salary was there intact--do not zero it out with #NA or whatever.

Your thoughts!
 

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.

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
It sure sounds doable. It will help if you could post some sample data, the formula you are using, the result you are getting and the result you want.

Regards!

Yogi
This message was edited by Yogi Anand on 2002-10-03 16:25
 

Forum statistics

Threads
1,144,148
Messages
5,722,773
Members
422,456
Latest member
lipa

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
Top