how to display as opposed to sum or count?

hoshino

New Member
Joined
Jul 12, 2011
Messages
3
Hi

First post... going a bit mental here getting close but nowhere near what I need with excel... so i turn to the forums...

I am searching for a formula that will check through a worksheet, and display/show/copy rows to a new worksheet if one criteria in an array is correct (eg if [WB1]'D:D=E2).

The purpose is to pull from a big sales list each sale if handled by a particular sales person, and to display a row per sale for that sales person (the row has client, product, date, invoice number, profit colulms etc - essentially i want an automatically updating report of this info). The resulting workseet/report would be for example, if Mr Excel had made 5 sales in july, the formula would pull through 5 rows of each sale's specifics.

So far Pivot Tables seem to be the answer but actually not the answer as they seem entirely preoccupied with summing and counting, and not simply displaying. Also I think they may not automatically update.

Ideally there would be a formulae called DISPLAYIF that would work like countif or sumif but obviously just display...

Other than formulas google points me to VBA/macros solutions, and of that I have no idea.

I realise simply sorting is one way around this, but I am trying to make a report that updates automatically, not where I have to sort and manually copy and paste each time I need the info.

There must be a way to do this in excel (so frustrating!), but as of yet I cannot find it. Can anyone help?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Welcome to the board.

There is a way to do this in excel, advanced filtering would be one method, but if you require the process to be automatic, you're more than likely going to have to use code, especially if you need to move data.
 
Upvote 0
Thank you Andrew and Weaver

I was afraid I'd have to learn VBA, not that it worries me it simply means this report won't be done quickly.

First step is to make sense of Andrew's link, looks like what I need to do, just I need to understand what is happening.....

Thank very much again!!!
 
Upvote 0
Hi,

If you already use a pivot table to summarize your data i.e. show the total number of sales per person, you can simply double-click on that total and a new Worksheet containing each source line will be created.

Seems to be a much easier way to obtain what you want, since you already have a pivot table available... just check the range and update it beforehand.

Rgds,

W.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top