Open Side Menu Go to the Top
Register
Ask me anything about Microsoft Excel Ask me anything about Microsoft Excel

09-27-2013 , 11:01 PM
In the data tab there is a subtotal option. You will need to add a column for the categories you want to group by. Subtotal by column. Subtotal the values.
I don't have it in front of me or i would be more specific

Idk the middle two.

The last one you need to be more specific. What do you mean by selecting? If you are performing a function, use something like sumif or countif or singer form of an =if function.
Ask me anything about Microsoft Excel Quote
09-28-2013 , 11:04 PM
Having trouble with IF function, could also be a better formula to use too.

Example of what I want:

If X>325 than 3*.75, if X between 305 and 324 than 3*.65 etc...

Its a formula to assign value to passing yards bonus in FF

Any help/suggestions?

Thanks
Ask me anything about Microsoft Excel Quote
09-28-2013 , 11:19 PM
Quote:
Originally Posted by sublime
Having trouble with IF function, could also be a better formula to use too.

Example of what I want:

If X>325 than 3*.75, if X between 305 and 324 than 3*.65 etc...

Its a formula to assign value to passing yards bonus in FF

Any help/suggestions?

Thanks
=IF(A1>=325,2.25,IF(AND(A1>304,A1<325),1.95,1))

where A1 is the number of passing yards. it returns 1 when passig yards are under 305
Ask me anything about Microsoft Excel Quote
09-28-2013 , 11:29 PM
Quote:
Originally Posted by mikeymer
I just started a new position a month ago and have realized that I am the worst excel user in the office, thank god I found this thread. I have some questions.

- How can I sort grouped data while leaving the groups intact?

Ex.
-blue 1
-green 4
-red 4
subtotal-colors 9
-fox 2
-cat 3
- dog 9
subtotal: animals 14

how can i group just the subtotals?

What is the best way to program shortcuts to get quicker on the keyboard?

You can record a macro and then assign a keyboard shortcut to it. For example I recorded a macro that pastes values and then assigned Ctrl + g to it so anytime i hit Ctrl + g it pastes values

What is the best way to navigate a workbook that has 50+ sheets? (Ex. I need to look at sheet 2 and sheet 68 back to back often)

could you reorder the sheets with the ones you use often next to each other?

How do you select only cells that have data in them? So I don't put formulas into line breaks, etc.

You can use Find & Select >> Constants on the far right of the HOME ribbon but it will ignore formulas
.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 11:21 AM
What function can I use to enter a number on sheet one and pull info from a 3x6 cell referance on sheet 2 if the number is equal?
Ask me anything about Microsoft Excel Quote
10-01-2013 , 01:57 PM
Probably some combination of match and offset or vlookup but that question is pretty vague.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 05:56 PM
Not sure if there is an easy way to do this, but I'd like to find a quick way to merge the content of cells in column B when they share a common value in column A.

EX:
A ................ B
100 ...................... 595-5
100 ...................... 596-4
100 ...................... 374-4
200 ......................484-3
200 ......................950-5


So I basically want to be left with:

A ................. B
100...................... 595-5, 596-4, 375-4
200 ...................... 484-3, 950-5

I assume a macro would work, but can't say I'm good enough to create my own.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 06:34 PM
Just pivot, put everything in the row labels in the order you want it and then structure it in tabular form.

Copy out if desired.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 06:53 PM
http://datapigtechnologies.com/blog/...-a-pivottable/

Just gonna leave this here. If you ever need to turn tabular data into row data this is so incredibly helpful.

Way more often than I'd like, I get fed data that is in crappy tabular format and while I can fix it using VBA it takes longer than I'd like and I hate QA'ing it. (I'm not that skilled at VBA). This just makes things so much easier.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 06:57 PM
Quote:
Originally Posted by Gospy
Just pivot, put everything in the row labels in the order you want it and then structure it in tabular form.

Copy out if desired.
Sorry, I misread what you had and my above text will just give you what you had before, I'll have to think about that one.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 10:27 PM
Quote:
Originally Posted by DontDoItPls
Not sure if there is an easy way to do this, but I'd like to find a quick way to merge the content of cells in column B when they share a common value in column A.

EX:
A ................ B
100 ...................... 595-5
100 ...................... 596-4
100 ...................... 374-4
200 ......................484-3
200 ......................950-5


So I basically want to be left with:

A ................. B
100...................... 595-5, 596-4, 375-4
200 ...................... 484-3, 950-5

I assume a macro would work, but can't say I'm good enough to create my own.



Then copy/paste values, sort on column D.
Ask me anything about Microsoft Excel Quote
10-01-2013 , 11:57 PM
Quote:
Originally Posted by CrazyEyez



Then copy/paste values, sort on column D.
Ask me anything about Microsoft Excel Quote
10-02-2013 , 08:11 AM
Quote:
Originally Posted by The Boat Oar
+1. You just saved me hours and hours of tedious work. It's exactly what I was looking for.

Thank you!
Ask me anything about Microsoft Excel Quote
10-02-2013 , 11:04 AM
Glad it helped.
Ask me anything about Microsoft Excel Quote
10-05-2013 , 05:00 PM
I want to take a moving balance and divide it by a static cell reference. Think a balance forward column for a check register. Is there a way to move the cell reference to the bottom-most value in a column? Its not necessarily going to be the highest or lowest value in the column which complicates it for me.
Ask me anything about Microsoft Excel Quote
10-05-2013 , 06:13 PM
Quote:
Originally Posted by steve1238
I want to take a moving balance and divide it by a static cell reference. Think a balance forward column for a check register. Is there a way to move the cell reference to the bottom-most value in a column? Its not necessarily going to be the highest or lowest value in the column which complicates it for me.


Formulas > Name Manager > New

Give it any name you want, and enter that formula in the 'Refers To' box. Change your column as needed.

You can now use 'myBalance' or whatever you called it in formulas and it will return the last number in the column.

Ask me anything about Microsoft Excel Quote
10-05-2013 , 08:40 PM
Quote:
Originally Posted by CrazyEyez


Formulas > Name Manager > New

Give it any name you want, and enter that formula in the 'Refers To' box. Change your column as needed.

You can now use 'myBalance' or whatever you called it in formulas and it will return the last number in the column.

Thank you
Ask me anything about Microsoft Excel Quote
10-07-2013 , 03:16 AM
How can I conditionally hide rows of a pivot table efficiently?

Currently I am looping through each row and it's cumbersome.
Ask me anything about Microsoft Excel Quote
10-07-2013 , 05:28 AM
Can everyone stop using grid lines in graphs unless it's actually necessary?
Ask me anything about Microsoft Excel Quote
10-07-2013 , 12:12 PM
Quote:
Originally Posted by Spurious
How can I conditionally hide rows of a pivot table efficiently?

Currently I am looping through each row and it's cumbersome.
Add a filter?
Ask me anything about Microsoft Excel Quote
10-07-2013 , 01:12 PM
Quote:
Originally Posted by CrazyEyez
Add a filter?
The problem is, the data consists of unique order ids. There are 20k+ of them.
Filter's cant be set to formulas (like conditional formatting), which is rather annoying.
Ask me anything about Microsoft Excel Quote
10-07-2013 , 02:59 PM
You can filter greater than / less than. Is it more complicated than that?

Oh, can you add a column with a formula and then filter on that? Have the formula return "x" if your conditions are met, then filter those out.
Ask me anything about Microsoft Excel Quote
10-07-2013 , 03:04 PM
I did add a column now, but was wondering if there was an easier way.
Ask me anything about Microsoft Excel Quote
10-07-2013 , 08:56 PM
I have 2 worksheets. First one is lookup second for reference.

I want to be able to enter a number on sheet one and have that reference/search all my tables on page 2, bringing the table with matching number over to page 1. So if I enter 100, the table with Issue qty of 100 will be moved over, If I enter 200 the corresponding table of 200 is moved instead. Do I need to turn anything into a pivot table? Do I use VLookup/HLookup formulas? What is the best option?

(sheet1)

Issue qty: xx
(Matching table/Cells will be transposed/brought over from sheet 2 to here)

----------------------------
(sheet 2)

Issue qty: 100
A 1 7
B 2 5
C 3 9


Issue qty: 200
A 1 7
B 2 5
C 3 9
Ask me anything about Microsoft Excel Quote
10-08-2013 , 10:49 AM
How does one count unique occurrences in a column and get the number. Example would be counting how many individual unique rfq id's are in the column. 2 3 4 4 5 I would want it to tell me the answer is 4. I tried count functions and the answers from Google were difficult to understand.

Sent from my SAMSUNG-SGH-I747 using 2+2 Forums
Ask me anything about Microsoft Excel Quote

      
m