Excel query
Author
Discussion

Countdown

Original Poster:

49,686 posts

227 months

Friday 9th March 2018
quotequote all
Excel query – I wonder if any Excel gurus can assist

I have a spreadsheet with a list of names, amounts, and percentage rates on the first tab.

Column A = Name
Column B – L = Other data
Column M = percentage rate (5.5%. 5.8%, 6%, 6,5%, 7.1%)

I want tab 2 to look at the data on the first tab and pull out everybody who is on 5.5% in col M
I want tab 3 to look at the data on the first tab and pull out everybody who is on 5.8% in Col M
And so on…..

The end result I am looking for is for everybody on Tab 1 to be listed on one of the other tabs, depending on what percentage it states in Col M.

What formulas do I need in tabs 2,3….in order for them to look at the data on tab 1 and pull out the names/information

Thanks in advance

Murph7355

42,128 posts

287 months

Friday 9th March 2018
quotequote all

hurstg01

3,238 posts

274 months

Friday 9th March 2018
quotequote all
Countdown said:
Excel query – I wonder if any Excel gurus can assist

I have a spreadsheet with a list of names, amounts, and percentage rates on the first tab.

Column A = Name
Column B – L = Other data
Column M = percentage rate (5.5%. 5.8%, 6%, 6,5%, 7.1%)

I want tab 2 to look at the data on the first tab and pull out everybody who is on 5.5% in col M
I want tab 3 to look at the data on the first tab and pull out everybody who is on 5.8% in Col M
And so on…..

The end result I am looking for is for everybody on Tab 1 to be listed on one of the other tabs, depending on what percentage it states in Col M.

What formulas do I need in tabs 2,3….in order for them to look at the data on tab 1 and pull out the names/information

Thanks in advance
You could try playing around with =sumproduct as one of the formulas I use I have to total up at net values in col L but only if they say 5.5% in column H and if the say 'Not Paid' in column M


=SUMPRODUCT(($L$2:$L$1050)*($H$2:$H$1050="5.5")*($M$2:$M$1050="Not Paid"))

louiebaby

11,027 posts

222 months

Friday 9th March 2018
quotequote all
If you're only doing it once, and the there are only 4 difference rates, the easiest way to do it will be to sort by the percentage and then name, and copy and paste the relevant bits onto new tabs.

Countdown

Original Poster:

49,686 posts

227 months

Friday 9th March 2018
quotequote all
Thanks both

hurstg01 said:
You could try playing around with =sumproduct as one of the formulas I use I have to total up at net values in col L but only if they say 5.5% in column H and if the say 'Not Paid' in column M


=SUMPRODUCT(($L$2:$L$1050)*($H$2:$H$1050="5.5")*($M$2:$M$1050="Not Paid"))
Not sure that would work. I don't want tab 2 to add up anything. I want it to show a list of all the people on tab 1 who had a %age rate of 5.5%. Thanks anyway smile

@Murph - VLOOKUP won't work. I'll have a look at the index match thingy to see what that does . cheers thumbup

r-kid

850 posts

218 months

Friday 9th March 2018
quotequote all
I don't think you'll get index match to work either, as you are trying to match something in the last column & pull all the data from previous ones.

Easier way would be just to use a pivot table on the data list & set the filter to column M.

mmm-five

12,409 posts

315 months

Friday 9th March 2018
quotequote all
Can't a simple pivot be used for this.

Pivot 1 for all names matching 5.5%
Pivot 2 for all names matching 5.9%
etc.

Or you could just do one pivot, where the first heading is the % and then all the names/otherdata is listed in tabular form.

Countdown

Original Poster:

49,686 posts

227 months

Friday 9th March 2018
quotequote all
Thanks folks - in hindsight pivot table was the blindingly obvious answer. In fact that probably works better than I wanted as it means the data (which changes each month) can just be pasted into Tab 1 and then tabs 2 - 8 just refreshed (so that each PivotTable updates). Pretty simple even for the most Noble excel user.

Much appreciated all thumbup

mike9009

11,076 posts

274 months

Friday 9th March 2018
quotequote all
Late to the Excel party, but a simple auto-filter would also work.....

Mike

arnie12

165 posts

223 months

Friday 9th March 2018
quotequote all
Countdown said:
Thanks folks - in hindsight pivot table was the blindingly obvious answer. In fact that probably works better than I wanted as it means the data (which changes each month) can just be pasted into Tab 1 and then tabs 2 - 8 just refreshed (so that each PivotTable updates). Pretty simple even for the most Noble excel user.

Much appreciated all thumbup
I would just add a slicer to the pivot table for interest rate column rather than a tab for each smile