computer/programming/excel wizards! help an idiot!

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (155 of them)

I think you mean Excel 2008. When I double-click the row or column headers (the silver box with the name of the field) I get a dialog box that lets me select values to hide. Does that work for you?

LA river flood (lukas), Friday, 13 August 2010 18:49 (thirteen years ago) link

Excel 2008, sorry yes. Double-clicking the silver bar headings gives me Pivot Table field settings, with the option to 'hide' a set of data but this isn't quite what I'm looking for as there doesn't seem to be an easy way of switching between the filtered data.

Not the real Village People, Friday, 13 August 2010 19:11 (thirteen years ago) link

Yeah, not ideal. If you figure out a better way I'd be interested to know!

LA river flood (lukas), Friday, 13 August 2010 19:25 (thirteen years ago) link

ten months pass...

please help!

why sometimes when i put in a formula in a cell, and then i either double click the corner or drag down to repeat cell multiple times, does it not auto calculate the correct results, it just copies the same result from the first cell?

Sshhh... mum's up (Ste), Tuesday, 14 June 2011 06:55 (twelve years ago) link

sorted, clue was in the question. for some reason Calculations were set to manual. i didn't even know that was an option

Sshhh... mum's up (Ste), Tuesday, 14 June 2011 06:58 (twelve years ago) link

nine months pass...

ALERT: IDIOT ASKING A QUESTION:

How can I do a running total, like in a check register? For example:

100
+1=====101
-10====91
+5=====96
and so on.

free societies must let drunken gay Texans have sex (Je55e), Thursday, 29 March 2012 16:43 (twelve years ago) link

+1 101
-10 91

assuming this is the top left corner
you would want the 91 cell to be "=B1+A2" then you could copy and drag that it down the column and it would add up the rest

iatee, Thursday, 29 March 2012 16:45 (twelve years ago) link

My name is Lex and I approve this message.

she started dancing to that (Finefinemusic), Thursday, 29 March 2012 16:59 (twelve years ago) link

My favourite formula of late is like:

{=SUM(IF(F3:F3648=F3651,I3:I3648,0))}*

Which checks F3651 to get the value, looks for all instances of that value in F3:F3648, and then sums up the values in I3:13648 that correspond to matches in the F column. Useful in my case for plotting sales of certain brands - I can say how much Brand A sold, BRand B, etc simply by populating the I column with the sales figures.

*Curiously, you don't type the curly brackets, just the rest of the formula - but if you hit enter to get out of the formula it won't work, you have to hit CTRL + SHIFT + ENTER

she started dancing to that (Finefinemusic), Thursday, 29 March 2012 20:16 (twelve years ago) link

And of course, always 'lock' your ranges by clicking F4 while they're selected, or manually entering them. Because when you paste a formula it will move your range relative to how much your pasted data moved.

Locked $A$1
Unlocked $A$1

I always want the row to stay but not column A$1
I always want the column to stay but not the row $A1

she started dancing to that (Finefinemusic), Thursday, 29 March 2012 20:17 (twelve years ago) link

well I fucked up unlocked obviously, that's just A1

she started dancing to that (Finefinemusic), Thursday, 29 March 2012 20:18 (twelve years ago) link

IF formula's are my favorite!! I thought I had done full on magic when I got my first IF forumula to work!

Peppermint Patty Hearst (VegemiteGrrl), Thursday, 29 March 2012 20:18 (twelve years ago) link

dlookup is my favorite, but if's good too

--->just typed =dlookup into Excel to see if that was anything other than a typo

I do love my vlookups. The if I just posted is like a vlookup that just sorts shit out for you on the go! It fuels many of my reports!

she started dancing to that (Finefinemusic), Thursday, 29 March 2012 20:24 (twelve years ago) link

array formulas :o

lukas, Thursday, 29 March 2012 20:28 (twelve years ago) link

=sum(countif(E:E,A2)) gets a lot of love from me.

i want my 200 dollars (NotEnough), Thursday, 29 March 2012 22:11 (twelve years ago) link

Thanks, people! I forgot to bookmark this thread so I thought that my question went unanswered and I felt weird!

I have one more question and I PROMISE that's it for a long while: Is there some way to make newer entries push down older ones. As if you are stacking objects and the newest object on the stack is always at eye level? So that there would always be an open row where I could make new entries and the 1st one entered is on the bottom and the latest one entered is on top.

I want to use this for a document log.

Thanks for listening to me. Sorry my questions are so completely elementary!

free societies must let drunken gay Texans have sex (Je55e), Thursday, 29 March 2012 22:14 (twelve years ago) link

I don't know a way, unfortunately. Short of adding a new row to the top each time, but that might mess with your headers... Someone else may have a way!

I like that sum/countif one. May implement!

she started dancing to that (Finefinemusic), Thursday, 29 March 2012 22:39 (twelve years ago) link

nine months pass...

Is there a way to use Custom Lists to sort a column so that the empty cells are on top instead of last?

carl agatha, Tuesday, 8 January 2013 16:02 (eleven years ago) link

If the non-empty cells are fixed, then you could reverse sort them in the custom list, and the blank should end up on top.

sunn o))) dude (Leee), Wednesday, 9 January 2013 02:05 (eleven years ago) link

I've got a list of about 2000 names. Just three columns: ORGANIZATION | CONTACT NAME | EMAIL

There in Column 3 is where I'm having problems. Some of the email addresses are active, I can click on them and my Thunderbird lights up. But some of them just sit there like ordinary text.

I notice in the field for the active emails, there's a bunch of [409tru09uHYPERLINK;;; susie@thejuniorlea✧✧✧.com;"su✧✧✧@thejuniorlea✧✧✧.c✧✧"9823u5. How can I make it where ALL of the email addresses are like that?

I'm doing all of this in Google Drive, btw.

pplains, Wednesday, 16 January 2013 02:39 (eleven years ago) link

I think you can turn email addresses into links by adding "mailto:" at the beginning.

o. nate, Wednesday, 16 January 2013 03:09 (eleven years ago) link

That worked, albeit the email address column has "mailto:" before every address. I can overlook that.

Now. Is there an easy way to do that 2000 times?

pplains, Wednesday, 16 January 2013 03:17 (eleven years ago) link

You could use a formula, like "=CONCAT("mailto:",C1)" where "C1" is whichever cell contains the first email address. Then fill that down to all 2000 cells.

o. nate, Wednesday, 16 January 2013 03:43 (eleven years ago) link

five months pass...

I have an excel table with client details in each row. one field is their manager’s name, another is their status in a range from A-F.

can I use excel to run through the data and count and how many each manager has at each status (or betw a range of statuses?) and how would I ‘automate’ this? macros?

kenjataimu (cozen), Friday, 28 June 2013 14:32 (ten years ago) link

I think you could just do that in a pivot table.

Jeff, Friday, 28 June 2013 14:37 (ten years ago) link

pivot table u&k for tasks like that

Random .mdb Memories (NotEnough), Friday, 28 June 2013 15:10 (ten years ago) link

pivot table is yr friend

set the controls for the heart of the sun (VegemiteGrrl), Saturday, 29 June 2013 17:44 (ten years ago) link

eleven months pass...

I've come unstuck in a pivot table and it's driving me mad. I have two columns, SCHOLARS (a count of names) and EMPLOYED (a count of those who have a work address), with YEAR as rows. I want to add another column to show the percentage of scholars who got a job each year. As both the columns had already been counted, I assumed I'd be able to add a calculated field with the formula =EMPLOYED/SCHOLARS but I get a #div/0 error. What am I doing wrong?

sktsh, Friday, 20 June 2014 12:55 (nine years ago) link

Have you tried pasting the values of the pivot table and adding the calculating column in there?

she started dancing to that (Finefinemusic), Friday, 20 June 2014 19:02 (nine years ago) link

Yep, that'd do the job. It was just biting at me that I couldn't work out a way to do it in the pivot, but I guess why make things any harder for myself.

Thx!

sktsh, Saturday, 21 June 2014 09:31 (nine years ago) link

pivots have halved the time I spend on certain things and filled that time with other things

leave the web boys alone (darraghmac), Saturday, 21 June 2014 09:34 (nine years ago) link

It's swings and roundabouts.

Welcome to the dessert of the real (snoball), Saturday, 21 June 2014 12:16 (nine years ago) link

otm, this is totally one of them. Annual statistics exercise, so will be much easier next year- but setting it up's been a fucker

sktsh, Saturday, 21 June 2014 12:41 (nine years ago) link

I can't remember if I was ever able to add columns into PTs to do things like that - it's been a while. Wish they were just a touch more malleable!

she started dancing to that (Finefinemusic), Saturday, 21 June 2014 15:19 (nine years ago) link

three months pass...

Hi there sorcerers, I have a dilemma.

I'm working with a new ordering system at work and it's slowing me down. I need some excel magic.

Every week I am going to receive an order spreadsheet.
The order spreadsheet is set up so that each row is a unique order for an account.
The items needed are listed on the header row. This week, there are 9 items for each order
And column A lists the account numbers
each row of cells under the header row contain the order qty's needed for each account.

for example:
Row 2: A2 = acct #, b2 = qty for item 1, c3 qty for item 2, d4 = qty for item 3

My dilemma is that for the orders to be loaded into our system, the data needs to be put into a template which requires the following setup:

Column A: account number
Column B: item number
Column C: quantity

So using this week's order as an example, since there are 9 items, the first account number will have to repeat 9 times in column a; the item numbers go in column b as a set of 9, and they have to repeat for every new account number. And then the order quantities go in column c.

(NB: as far as this weekly order goes, the number of items changes each week, it could be 4 items one week and 10 items the next week, there's no fixed number).

This whole template thing is a new process for me, and everyone's kind of backwards in handling it. And I didn't know enough about excel to come up with an easy way of manipulating the data, so I was reduced to a whole afternoon of cutting and pasting 4000 lines. Which sucks because I know that there is a way to shape the data into the format I need! I just don't know how.

Do any of you have any ideas? This is way out of my depth, but what I'm hoping for is something that I can use each week to rearrange the data.

If you need I can try to create some dummy screenshot examples of what I need when I get home...I know it's kind of hard to visualise.

difficult-difficult lemon-difficult (VegemiteGrrl), Friday, 3 October 2014 23:15 (nine years ago) link

oh and my primary reason for needing help is that in my role as data-handler, my aim is to touch the source data as little as possible to generate the orders. The less I have to manually manipulate it, the less chance there are of me creating user-errors, and mindless cutting and pasting for 4 hours is a surefire way to get all kinds of wacky errors.

difficult-difficult lemon-difficult (VegemiteGrrl), Friday, 3 October 2014 23:19 (nine years ago) link

This miiiight be something a pivot table can do, I'm having a hard time visualizing though. If you can email it to me I could take a look..?

she started dancing to that (Finefinemusic), Friday, 3 October 2014 23:23 (nine years ago) link

:D

difficult-difficult lemon-difficult (VegemiteGrrl), Saturday, 4 October 2014 03:05 (nine years ago) link

vlookup ftw

she started dancing to that (Finefinemusic), Saturday, 4 October 2014 06:27 (nine years ago) link

Sounds like a job for SUMIFS

nate woolls, Saturday, 4 October 2014 06:52 (nine years ago) link

got sum new ifs in dis week if yr innerested

j., Saturday, 4 October 2014 15:14 (nine years ago) link

Did you get it sorted? It looks like ffm has sorted it out, in which case :D

My feeling is that if the number of items changes each week you probably need a VB macro, but if it's the same (or you know there'll always be at most 20 so you can pretend there are always exactly 20 and just make the extra item quantities 0 and have a lot of 0 rows and maybe filter them out again later), or if you don't mind some manual work each week as long as it's not an entire afternoon of cutting and pasting, you could use worksheet functions

but I have not thought about it super deeply, so, hoping you've already found a better way!

club mate martyr (a passing spacecadet), Saturday, 4 October 2014 18:58 (nine years ago) link

I sent her a file with a vlookup programmed into it, and instructions on how it works so that she can hopefully modify the range if needed.. I did think about a macro but I figured everyone should know how to do a sweet vlookup :)

she started dancing to that (Finefinemusic), Saturday, 4 October 2014 19:46 (nine years ago) link

there has been a ticker tape parade, ffm presented with keys to the city, not a dry eye in the place

difficult-difficult lemon-difficult (VegemiteGrrl), Saturday, 4 October 2014 23:46 (nine years ago) link

It's true! I felt like a modern day Mother Teresa.

she started dancing to that (Finefinemusic), Sunday, 5 October 2014 00:51 (nine years ago) link

Oh man I love a good vlookup

rad het chilly poppers (Stevie D(eux)), Sunday, 5 October 2014 00:54 (nine years ago) link

i am a fan now

difficult-difficult lemon-difficult (VegemiteGrrl), Sunday, 5 October 2014 00:59 (nine years ago) link

Just remember to never ever merge cells. They will just screw everything up. AVOID AT ALL COSTS

rad het chilly poppers (Stevie D(eux)), Sunday, 5 October 2014 02:30 (nine years ago) link

yessir

difficult-difficult lemon-difficult (VegemiteGrrl), Sunday, 5 October 2014 03:31 (nine years ago) link

My biggest gripe with Excel is that I have to use the F2 key to get to the formula bar. Like, who the hell finds it comfortable to use the Function keys?!

Mr. Snrub, Friday, 6 September 2019 19:05 (four years ago) link

That’s actually quicker than what I do. I always use the mouse to click in the formula bar. I’ll have to remember F2.

o. nate, Friday, 6 September 2019 19:12 (four years ago) link

two weeks pass...

OK, I have a problem that's been driving me nuts for a while. I have two columns of data, and the rows are groups. It's like this:

Col A. Col B.
person 1 | keyword 1
person 1 | keyword 2
person 1 | keyword 3
person 2 | keyword 1
person 3 | keyword 1
person 3 | keyword 3

I want to eliminate the duplicate rows and put each value in column 2 in it's own column, like this:

Person 1 | keyword 1 | keyword 2 | keyword 3
Person 2 | keyword 1 | |
Person 3 | keyword 1 | keyword 3 |

There's too much data for me to just copy/paste groups of rows and transpose them.

I've tried a pivot table, but that doesn't get me the result I need. It puts all the values of column B into a single row of labels at the top. I've tried various arcane formulae, but nothing seems to work.

fffffffffuuuuuuuuuccccccccccccckkkkkkkkkkkkk

icy bike chain rain (zchyrs), Wednesday, 25 September 2019 21:05 (four years ago) link

Some clever solutions here: superuser.com/questions/453041

o. nate, Wednesday, 25 September 2019 21:22 (four years ago) link

the excel answers I’m getting from google are bad but what you’re looking for is denormalizing into lists

mh, Thursday, 26 September 2019 01:26 (four years ago) link

or? if you search for 'vlookup that returns multiple values' there are some different methods that returns exact match results in its own cell.

Yerac, Thursday, 26 September 2019 01:45 (four years ago) link

'vlookup that returns multiple values' was definitely the right thing to search! Many thanks, Yerac. Tinkering with the formula here did the trick.

icy bike chain rain (zchyrs), Thursday, 26 September 2019 14:00 (four years ago) link

Good!

Yerac, Thursday, 26 September 2019 14:39 (four years ago) link

oh was going to suggest INDEX but couldn't remember the exact way I used it

kinder, Thursday, 26 September 2019 15:57 (four years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.