Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
COL of codes in A (full List of codes of about 2,000)
COL of codes in B (selection of COL A codes of about 850) IF COL B code matches COLUMN A code, then true, else false |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
in C1 enter =IF(SUMPRODUCT(--(B1=$A$1:$A$2000))0,"True","False") copy formula down "Katerinia" wrote: COL of codes in A (full List of codes of about 2,000) COL of codes in B (selection of COL A codes of about 850) IF COL B code matches COLUMN A code, then true, else false |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to basically widdle away data in a worksheet, using the criterial of
same codes. Col A is the full list of codes followed by data relating to it. I dont need all these rows of data, i only need the data that correlates wtih matching codes from a shorter list currently in Col B. "Katerinia" wrote: COL of codes in A (full List of codes of about 2,000) COL of codes in B (selection of COL A codes of about 850) IF COL B code matches COLUMN A code, then true, else false |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
column B in another sheet?, could you post an example on how your data looks like and what do you want to get, thanks "Katerinia" wrote: I need to basically widdle away data in a worksheet, using the criterial of same codes. Col A is the full list of codes followed by data relating to it. I dont need all these rows of data, i only need the data that correlates wtih matching codes from a shorter list currently in Col B. "Katerinia" wrote: COL of codes in A (full List of codes of about 2,000) COL of codes in B (selection of COL A codes of about 850) IF COL B code matches COLUMN A code, then true, else false |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In worsheet JOB_CODES
C1 C2 C3 JOBCODE EFFDT DESCR DESCRSHORT 414096 1011906 DSC VP - REFINERY OPERATIONS DSCVPREFOP 414116 1011906 DSC GEN'L COUNSEL & SECTY DSCGENCNS 414126 1011906 TLNAS PRESIDENT TLNAS PRES 414146 1011906 DSC VP & AST TO PRS-GOV REL DSC GOVREL 415016 1011906 DSC DIRECTOR - INFO TECH&PLNG DIS DIR IT 415026 1011906 DSC VP - SALES DSC VP SLS The only need to keep certain data rows which are listed in another worksheet: "CODESNEEDED" NEEDEDCODES 123500 410013 410014 410023 410227 410407 How can I mark worksheet Job_CODES so I can run a filter and delete the rows I dont need the info. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Katerinia,
in another column enter =INDEX(CODESNEEDED!$A$1:$A$5,MATCH(C1,CODESNEEDED! $A$1:$A$5,0)) I assume that the code in sheet job_codes are in C starting in row 1 If the code is not in the other sheet it will bring #N/A then filter the column by #N/A, higlight the rows, right click on the mouse, delete then go back to the filter and select all "Katerinia" wrote: In worsheet JOB_CODES C1 C2 C3 JOBCODE EFFDT DESCR DESCRSHORT 414096 1011906 DSC VP - REFINERY OPERATIONS DSCVPREFOP 414116 1011906 DSC GEN'L COUNSEL & SECTY DSCGENCNS 414126 1011906 TLNAS PRESIDENT TLNAS PRES 414146 1011906 DSC VP & AST TO PRS-GOV REL DSC GOVREL 415016 1011906 DSC DIRECTOR - INFO TECH&PLNG DIS DIR IT 415026 1011906 DSC VP - SALES DSC VP SLS The only need to keep certain data rows which are listed in another worksheet: "CODESNEEDED" NEEDEDCODES 123500 410013 410014 410023 410227 410407 How can I mark worksheet Job_CODES so I can run a filter and delete the rows I dont need the info. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could insert a new (temporary) column B (it's nice to be close to the column
with the data) and use a formula like: =isnumber(match(a2,'codesneeded'!a:a,0)) (and drag down the column.) You'll see True if there's a match and False if there is no match. Convert to values by selecting column B edit|copy edit|paste special|values (It'll make things quicker.) Then either filter to show the False's and delete the visible rows (and then show all data) -- or sort by column B and delete the rows with False in that column. Then delete column B. Katerinia wrote: In worsheet JOB_CODES C1 C2 C3 JOBCODE EFFDT DESCR DESCRSHORT 414096 1011906 DSC VP - REFINERY OPERATIONS DSCVPREFOP 414116 1011906 DSC GEN'L COUNSEL & SECTY DSCGENCNS 414126 1011906 TLNAS PRESIDENT TLNAS PRES 414146 1011906 DSC VP & AST TO PRS-GOV REL DSC GOVREL 415016 1011906 DSC DIRECTOR - INFO TECH&PLNG DIS DIR IT 415026 1011906 DSC VP - SALES DSC VP SLS The only need to keep certain data rows which are listed in another worksheet: "CODESNEEDED" NEEDEDCODES 123500 410013 410014 410023 410227 410407 How can I mark worksheet Job_CODES so I can run a filter and delete the rows I dont need the info. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel |