ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sectioning rows of text based on value of associated data column (https://www.excelbanter.com/excel-worksheet-functions/216821-sectioning-rows-text-based-value-associated-data-column.html)

Carmen Bauer

Sectioning rows of text based on value of associated data column
 
Hi.
I have a raw data tab with data that consists of a list of names (column A)
with an associated numerical data column (column B).

On a separate "Report Summary" tab in the same spreadsheet, I want to be
able to place names (from the raw data tab) in one section of rows if the
name's associated data is greater than zero and in another section of rows if
it's equal to or less than zero.

How can I do this without sorting the raw data? I want to be able to update
the raw data each month and have my report automatically place names into two
sections of rows -- those with values greater than zero and those with values
flat/less than zero.

Thanks in advance for your help!


Thanks,
Carmen

Gord Dibben

Sectioning rows of text based on value of associated data column
 
DataFilterAutofilter on greater than zero.

Copy the results to a sheet.

Filter on equal to and less than zero

Copy those results as a block to the other sheet.

For the automatic part see Ron de Bruin's site for copy/paste/merge
examples.

http://www.rondebruin.nl/copy5.htm

He has several VBA routines for copying filtered results to another sheet.


Gord Dibben MS Excel MVP

On Fri, 16 Jan 2009 16:16:03 -0800, Carmen Bauer
wrote:

Hi.
I have a raw data tab with data that consists of a list of names (column A)
with an associated numerical data column (column B).

On a separate "Report Summary" tab in the same spreadsheet, I want to be
able to place names (from the raw data tab) in one section of rows if the
name's associated data is greater than zero and in another section of rows if
it's equal to or less than zero.

How can I do this without sorting the raw data? I want to be able to update
the raw data each month and have my report automatically place names into two
sections of rows -- those with values greater than zero and those with values
flat/less than zero.

Thanks in advance for your help!


Thanks,
Carmen




All times are GMT +1. The time now is 09:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com