How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask The-PC-Guy Your Own Question

The-PC-Guy
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1199
Experience:  20 years experience providing remote computer support
Type Your Microsoft Office Question Here...
The-PC-Guy is online now
A new question is answered every 9 seconds

I am having trouble figuring out how to eliminate data either

Resolved Question:

I am having trouble figuring out how to eliminate data either through a pivot table or through a formula to get the data to filter appropriately through a pivot table.

The first column in the Excel spreadsheet is employee numbers. Another column is a job code for that particular employee number. Numerous employees have multiple lines of data with the same employee number but a different job code. Job codes are: TCHSUB, STPN, HRLY, DAILY, SRVSUB, OT, BDUTY, COACH, STUDENT.

I need to determine who the employees are that have job codes of STPN, HRLY, DAILY, OT, BDUTY, COACH, STUDENT but not include any employees that also have the job code of TCHSUB OR SRVSUB.

How can this be done?
Submitted: 4 months ago.
Category: Microsoft Office
Expert:  The-PC-Guy replied 4 months ago.

The-PC-Guy :

Thanks for using JustAnswer. My name isXXXXX will do whatever I can to answer your question

The-PC-Guy :

can you send me your spreadsheet

The-PC-Guy :

i could set up the pivot table for you

Customer:

Okay, stupid question but how can I attached a file? It will only let me attach an image. Pasting in the data doesn't keep the data in correct columns.

The-PC-Guy :

ok

The-PC-Guy :

just use that image button

The-PC-Guy :

but click the excel file instead

The-PC-Guy :

should work

The-PC-Guy :

i have an alternative if that doesnt work

Customer:

It tells me wrong image type and won't attach it.

The-PC-Guy :

ok

The-PC-Guy :

www.wikisend.com

The-PC-Guy :

after uploading to them

The-PC-Guy :

they give you ID#

The-PC-Guy :

paste that number here

Customer:

889650

The-PC-Guy :

give me a minute to check that out

The-PC-Guy :

i see why it wouldnt attach

The-PC-Guy :

they don't like macro files

The-PC-Guy :

so we gonna use the raw data tab to create the pivot table from?

Customer:

Yes

The-PC-Guy :

and what information do you want in the table

The-PC-Guy :

like if employee id goes down left column

The-PC-Guy :

and job code across the top?

Customer:

That would be fine.

The-PC-Guy :

let me see what I can do

The-PC-Guy :

one more question while I am working on this

The-PC-Guy :

your are looking to not have the name displayed if they contain

The-PC-Guy :

TCHSUB OR SRVSUB

The-PC-Guy :

so if they have

The-PC-Guy :

anything including those 2 we do not want it displayed

The-PC-Guy :

did you get my last message?

The-PC-Guy :

I don't want you to think I left you

The-PC-Guy :

let me know when you are back

Customer:

Sorry about that. I got caught in a meeting with the superintendent.

Customer:

Yes, with your assumption.

The-PC-Guy :

ok

The-PC-Guy :

so in the case of

The-PC-Guy :

nicols allen

The-PC-Guy :

they have that category

The-PC-Guy :

so their name should not be displayed

Customer:

Correct

The-PC-Guy :

ok

The-PC-Guy :

lemme see what I can doo

The-PC-Guy :

this may take a while

The-PC-Guy :

ok, i think this will require some VBA

The-PC-Guy :

since this is already an XLSM file

The-PC-Guy :

that shouldn't be too dificult

The-PC-Guy :

I will hopefully have something for you by end of day

The-PC-Guy :

You will be contacted when I post my results

Customer:

Thank you for the update.

The-PC-Guy :

np

The-PC-Guy :

ok its done

The-PC-Guy :

click the link to download and test

The-PC-Guy :

the macro runs when you open the workbook and enable content

The-PC-Guy :

it will remove all the names from the pivot sheet that have the 2 values you didn't want to see

The-PC-Guy :

Let me know if you have any questions, problems, or concerns

The-PC-Guy :

WHEN YOU GET A CHANCE PLEASE REMEMBER TO RATE MY SERVICE

The-PC-Guy :

SO I GET REIMBURSED FOR MY TIME

The-PC-Guy :

YOU DO SO WITH THE SMILEYS BENEATH THIS CHAT

Customer:

Thank you.

The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1199
Experience: 20 years experience providing remote computer support
The-PC-Guy and 3 other Microsoft Office Specialists are ready to help you

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
< Last | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    270
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Computer Manager

    Satisfied Customers:

    260
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    120
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    116
    Trained in Microsoft Office from 2000 through to latest version 2010.
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    94
    Bachelor's Degree in Information Technology, Microsoft Certified Professional