Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Sounds like a bit of a tongue twister, but a formula involving VLookUp would probably do the job? On the second sheet in a third column for the first user type =VLookUp(user, FirstRange,2,False) where user = address of first user (A1?) FirstRange = Range on first sheet containing the two columns of data. Use absolute referencing like Sheet1!"$A$1:$B$20" after selecting range with mouse/keys. 2 refers to the second column in the FirstRange with the paths False just means you don't have to sort. This will give the new path if the user is already in Firstrange and #NA if they are not. Now in a fourth column on the second sheet you might do (in D1?) =if(ISERROR(C1),B1,C1) where I'm assuming the first user is in A1 so that his path is in B1 and his VLookUp in C1. Now copy down this formula and copy/paste special...values only into the second column. delete columns 3 and 4 and you are done. Not sure that is exactly what you want, but you should be able to bodge it to fit. regards Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't Copy and Paste or Paste Special between Excel Workbooks | Excel Discussion (Misc queries) | |||
Macro to copy & paste-special-values data to selected worksheets | Excel Discussion (Misc queries) | |||
help w/ generic copy & paste/paste special routine | Excel Programming | |||
Dynamic Copy/Paste Special Formulas/Paste Special Values | Excel Programming | |||
Copy Paste Special Value using Code over Several Worksheets | Excel Programming |