Multiple lookup values

Hi,

‘Sheet 1’ has the list of both ‘COMPANY_LEVEL_ID ‘, ‘Analyst Area’ and ‘Analyst Sub Area’ with the corresponding ‘TSK ID’. ‘Sheet 2’ has the two separate columns for ‘Analyst Area’ and ‘Analyst Sub Area’.

I am trying to fetch the corresponding ‘TSK_ID’ data from ‘Sheet 1’ worksheet to ‘Sheet 2’ worksheet. I know that we can use vlookup for this. However, there are few blank cells in ‘Column B’ (Analyst Sub Area) in ‘Sheet 2’ worksheet. If the ‘Analyst Sub Area’ is blank then we need to take the ‘TSK ID’ associated to ‘Analyst Area’ and update. For this, using vlookup is not feasible and hence we need a macro to do this.

On click of a button which is there in ‘Sheet 1’ the associated ‘TSK ID’ should be pulled to ‘Sheet 2’. I have explained this through an example in the attached spreadsheet. Kindly review and please help me on this.

Thank You,
Prashanth
Task-ID.xls
pg1533Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gowflowConnect With a Mentor Commented:
Check is that what you want. Make sure macroes are enabled and activate the button in sheet2 and chk results.
gowflow
Task-ID.xls
0
 
gowflowCommented:
We should in the contrary have the button in sheet2 not in sheet1 as it is sheet2 you want to update correct ?
gowflow
0
 
pg1533Author Commented:
Fantastic....!!!!

Thank you for all your support on this. It really helped me.

Have a great day!!!
0
 
gowflowCommented:
Your welcome anytime. Tks for the nice appreciation.
gowflow
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.