Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default How to get results in following cells

Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default How to get results in following cells

On 9 Sep, 17:02, albertmb wrote:
Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


You could use autofilter, show non blanks. It's quick and easy.

Matthew

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to get results in following cells

I'd apply data|filter|Autofilter to the column B in the original worksheet.

Then filter to show different from 0 (or greater than 0) and then copy those
visible rows/cells to the second worksheet.



albertmb wrote:

Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to get results in following cells

Another play to try ..

Assume source data as posted in Sheet1's cols A and B, from row2 down

In Sheet2,

In A2:
=IF(OR(Sheet1!B2="",Sheet1!B2=0),"",ROW())
Leave A1 blank

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SM ALL($A:$A,ROWS($1:1))))
Copy B2 to C2. Select A2:C2, copy down to cover the max expected extent of
data in Sheet1. Hide away col A. Cols B and C will return only the lines from
Sheet1 where "Cases Ordered" is not blank/contains zero, all neatly bunched
at the top. As the source data is updated in Sheet1's col B, Sheet2 will
automatically display the results.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"albertmb" wrote:
Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default How to get results in following cells

Thank you for your time but what I was looking for was something that works
automatically, Max got it right for me. Thank you once again

"Matthew" wrote:

On 9 Sep, 17:02, albertmb wrote:
Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


You could use autofilter, show non blanks. It's quick and easy.

Matthew




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default How to get results in following cells

Thank you Max, it is exactly what I was looking for. Just perfect

"Max" wrote:

Another play to try ..

Assume source data as posted in Sheet1's cols A and B, from row2 down

In Sheet2,

In A2:
=IF(OR(Sheet1!B2="",Sheet1!B2=0),"",ROW())
Leave A1 blank

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SM ALL($A:$A,ROWS($1:1))))
Copy B2 to C2. Select A2:C2, copy down to cover the max expected extent of
data in Sheet1. Hide away col A. Cols B and C will return only the lines from
Sheet1 where "Cases Ordered" is not blank/contains zero, all neatly bunched
at the top. As the source data is updated in Sheet1's col B, Sheet2 will
automatically display the results.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"albertmb" wrote:
Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default How to get results in following cells

Thank you for your time, but what I was looking for was something that works
automatically, Max got it right for me. Thank you once again

"Dave Peterson" wrote:

I'd apply data|filter|Autofilter to the column B in the original worksheet.

Then filter to show different from 0 (or greater than 0) and then copy those
visible rows/cells to the second worksheet.



albertmb wrote:

Hi everyone, I need some help.

In sheet 1 I have a product list from which I order items every week:
A B
1) ITEM Cases Ordered
2) Banana 3
3) Apples 0
4) Oranges 1

How can I get results in sheet 2 eliminating those items from which I
haven't orderd but in following cells?

A B
1) ITEM Cases Ordered
2) Banana 3
3) Oranges 1

The following is what I managed so far:

A B
1) ITEM Cases Ordered
2) Banana 3
3)
4) Oranges 1

Thank you in anticipation


--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to get results in following cells

welcome, albertmb
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"albertmb" wrote in message
...
Thank you Max, it is exactly what I was looking for. Just perfect



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeze Function Results in Cells Tyler Shillig Excel Worksheet Functions 1 July 19th 07 05:36 PM
Want to show/hide cells depending on other cells results Marco Excel Discussion (Misc queries) 0 August 15th 06 06:21 PM
hiding blank cells when no results andyell Excel Worksheet Functions 2 July 14th 06 03:58 PM
counting cells in two columns that have the same results Chris Excel Worksheet Functions 8 May 18th 06 09:19 PM
Cells displays formula, not results synaptic5150 Excel Worksheet Functions 1 January 19th 05 09:56 PM


All times are GMT +1. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"