Started By
Message

re: Is there a easy way to use a Excel Pivot table to manage text?

Posted on 3/26/21 at 4:10 pm to
Posted by Mingo Was His NameO
Brooklyn
Member since Mar 2016
29648 posts
Posted on 3/26/21 at 4:10 pm to
Make a YRMO field and and then an if statement. If YRMO > "x" then their certification is expired.

You'll have to update the formula monthly, but that seems to be the easiest and quickest solution.

Then your picot table would just be a filter on a yes or no and show employees.
Posted by Crow Pie
Neuro ICU - Tulane Med Center
Member since Feb 2010
26323 posts
Posted on 3/26/21 at 4:30 pm to
quote:

I used to maintain an Excel spreadsheet that was a random collection of pivot tables to make the spreadsheet look like a dashboard, But that was more for my own edification and not something published for others to interact with....

This is actually a report I made for me that I was going to try to share with the managers but it is simply too much work for a small payoff. I will just keep copy and pasting the data and send to a managers when needed until I load all the data into ADP and use that platform's custom reports capability which is the long-term solution anyway.

Thanks for all the suggestions
Posted by Kujo
225-911-5736
Member since Dec 2015
6031 posts
Posted on 3/26/21 at 4:44 pm to
I used to run over 400 grants and contracts, and would track late invoice submissions. (Agency hasn't submitted an invoice in over 60 days for repayment) it was very important to keep everybody timely for budgetary reasons and expenditures.

I think you have all the data you need, create a column header called "expired?" to test exp, if today ()-exp date>30 then 1 if not 0, then pivot by manager and count of 1's (expired). If you're testing multiple certifications, you can create a column for each at the end, or do an aggregate through (if/and) statement that looks at each non-empty expiration date....to flag an employee as having some type of cert exp issue.


It's fun creating these things, innovating versus maintaining. All the power to you, everything I learned in excel was from BRCC. Now I'm a senior analyst, working with Oracle BI more so than Excel the last few years.... Unfortunately.
Posted by Swoopin
Member since Jun 2011
22041 posts
Posted on 3/26/21 at 10:31 pm to
=IF([EXPIRATION DATE CELL]<=TODAY(), “EXPIRED”, “CURRENT”)
Posted by I B Freeman
Member since Oct 2009
27843 posts
Posted on 3/26/21 at 10:36 pm to
I don’t anything about VBA but I love Access to manage data. It is powerful and MUCH better to manage large data files than excel. It will out put queries as spreadsheets if you need too.

The best way to learn it is to use the Northwinds tutorial that comes with it and then just dive in.
This post was edited on 3/26/21 at 10:38 pm
Posted by Bullfrog
Running Through the Wet Grass
Member since Jul 2010
58936 posts
Posted on 3/26/21 at 10:44 pm to
I have a Tableau license and would recommend if you’ll be mining complex reports from your data in the future. It’s like a pivot table on fentanyl.

Same brain. Just works alot different.
Posted by TchoupitoulasTiger
NOLA
Member since May 2011
1287 posts
Posted on 3/27/21 at 1:53 am to
What’s a Tableau license run these days? I have a JMP Pro license and it was $15K.
Posted by Bullfrog
Running Through the Wet Grass
Member since Jul 2010
58936 posts
Posted on 3/27/21 at 8:13 am to
I don’t even want to know.
Posted by t00f
Not where you think I am
Member since Jul 2016
99822 posts
Posted on 3/27/21 at 8:16 am to
quote:

cannot make fricking pivot tables.


Only thing I use pivot tables for is to extract external data via query from a relational; database.
Posted by Penrod
Member since Jan 2011
46665 posts
Posted on 3/27/21 at 8:22 am to
Fire Name 8, 12 & 15. NOW!
Posted by hubertcumberdale
Member since Nov 2009
6704 posts
Posted on 3/27/21 at 9:20 am to
I would consider indexing the text if that is a possibility, and creating a new column that matches the text index number with the text. Excel handles numbers much better than text and also limits ambiguities bw the texts
Posted by hubertcumberdale
Member since Nov 2009
6704 posts
Posted on 3/27/21 at 9:23 am to
quote:

What’s a Tableau license run these days?


Not sure ab Tableau but I use Spotfire which is very similar and costs $100/mo
Posted by Eli Goldfinger
Member since Sep 2016
32785 posts
Posted on 3/27/21 at 9:43 am to
quote:

I have a large database in an excel spreadsheet


No you don’t
Posted by Bullfrog
Running Through the Wet Grass
Member since Jul 2010
58936 posts
Posted on 3/27/21 at 10:22 am to
It’s all relative.
Posted by lostinbr
Baton Rouge, LA
Member since Oct 2017
11705 posts
Posted on 3/27/21 at 3:44 pm to
quote:

I started to use conditional formatting to convert text to a number and then a use a "if # = x, then "text" statement but it seems way to cumbersome to get what I want.

quote:



Without knowing exactly what you are trying to produce as a finished product it’s pretty difficult to tell you exactly how to go about it. But I’ll try to throw out some general suggestions.

First off, working with text in Excel isn’t that difficult if there are no errors in your source data. Error checking is the brutal part of working with text, especially names, as small formatting differences in the data entry can cause issues. This is where unique identifiers (e.g. employee ID numbers) can really make life easier. But it’s not impossible to cross reference names without ID numbers of your data is good.

Second, I suspect almost everything you’re trying to do can be accomplished with the INDEX and MATCH functions. It sounds like you’re using complex strings of IF functions but that’s a really inefficient way to cross reference data. A couple of examples:

If your different certifications have different passing scores and/or expiration periods, create a sheet with the name of the cert, passing score, and how long the cert lasts (preferably in days, since Excel math on dates uses days for addition/subtraction). Then in your main sheet you pull that data from the cert data using INDEX and MATCH (I won’t go into the details of how those functions are constructed, but if you Google index/match you will find plenty of instructions).

So let’s say your input data consists of testing date and score. You create a column that tells you whether the score is passing or not by comparing it to the passing value you entered in the certification data. You can either do that with text (“yes” or “no”), or with numbers (“0” and “1” are the Excel outputs for TRUE/FALSE). Then you conditionally format the score as pass/fail based on that check column.

For expiration date, you do the same cross-reference to add the number of days associated with that particular cert to the testing date.

Same concept applies to filtering by manager. Ideally you have a sheet listing each employee and their manager. Again, unique identifiers (EIN’s) are great here but not necessarily required. You add a “manager” column to your master sheet and cross reference (using INDEX/MATCH) the employee name or EIN with the other sheet to auto-populate the manager name. Now you can easily filter by manager.

Excel isn’t a very good database tool overall but it works for small-ish datasets, which this appears to be.
Posted by SuperSaint
Sorting Out OT BS Since '2007'
Member since Sep 2007
144418 posts
Posted on 3/27/21 at 3:52 pm to
quote:

X/X/X


Posted by Tshiz
Idaho
Member since Jul 2013
7974 posts
Posted on 3/27/21 at 4:08 pm to
Why not do equals left or right of the text boxes, shorten the criteria for search and the IF statements

Plenty of ways to do what you’re asking, just depends on how you want to
Posted by AthensTiger
Athens, GA
Member since Jul 2008
2977 posts
Posted on 3/27/21 at 5:06 pm to
Use the Power Pivot Add-in
Posted by mikelbr
Baton Rouge
Member since Apr 2008
48581 posts
Posted on 3/27/21 at 6:23 pm to
A manufacturing systems analyst's worst nightmare is unfricking these workbooks when brilliant engineers/business analysts/accountants leave the company. And the next guy/gal has no clue how to make it work. IT HELP USSS!
As smart as you folks are, you're not database developers nor programmers. Give us the raw data or links to your source data and let us deliver it to your dashboard or inbox please.


This post was edited on 3/27/21 at 6:46 pm
Posted by AthensTiger
Athens, GA
Member since Jul 2008
2977 posts
Posted on 3/29/21 at 4:47 pm to
quote:

you're not database developers nor programmers





first pageprev pagePage 2 of 2Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on X, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookXInstagram