J
John
I have two worksheets 1) Data Summary 2) EC_GrossHours
Data Summary sheet contains SS#, Name, etc...
EC_GrossHours that contais SSN and other empolyee payroll data
imported from MAS 90.
Is there a way to format the record that gets imported into excel from
Microsoft Query. All my social security numbers get imported as text
(I think) and I have to copy an empty cell and paste special|add to
get the my VLOOKUP function (See below on Data Summary Worksheet)to
work correctly.
=IF(ISNA(VLOOKUP(A2,EC_GrossHoursLookup,8,0)),0,VLOOKUP(A2,EC_GrossHoursLookup,8,0))
A2 = SSN formatted as text
EC_GrossHoursLookup = my defined range that is imported data
A2 is on Data Summary sheet
EC_GrossHoursLookup refers to worksheet EC_GrossHours.
I tried coping A2 and paste special | formats on SSN on EC_GrossHours.
The function only recognizes the SSN when I copy an empty cell and
paste special|add to SSN column in EC_GrossHours.
Data Summary sheet contains SS#, Name, etc...
EC_GrossHours that contais SSN and other empolyee payroll data
imported from MAS 90.
Is there a way to format the record that gets imported into excel from
Microsoft Query. All my social security numbers get imported as text
(I think) and I have to copy an empty cell and paste special|add to
get the my VLOOKUP function (See below on Data Summary Worksheet)to
work correctly.
=IF(ISNA(VLOOKUP(A2,EC_GrossHoursLookup,8,0)),0,VLOOKUP(A2,EC_GrossHoursLookup,8,0))
A2 = SSN formatted as text
EC_GrossHoursLookup = my defined range that is imported data
A2 is on Data Summary sheet
EC_GrossHoursLookup refers to worksheet EC_GrossHours.
I tried coping A2 and paste special | formats on SSN on EC_GrossHours.
The function only recognizes the SSN when I copy an empty cell and
paste special|add to SSN column in EC_GrossHours.