Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default Condense data for stock ordering

Hi all,
Can anybody help with this problem, I have column
A and B in another worksheet and I want to condense the list to only the
information in columns D and E. I have the formula for column E (thanks to
Luke), I now just need the formula for column D. Incidently, the formula in
column E is =IF(D2="","",(SUMIF($A$2:$A$12,D2,$B$2:$B$12)))

A B D E
Fabric Quantity Fabric Quantity
Chenille 10 Chenille 230
Chenille 20 Pampas 200
Chenille 30 Aster 230
Pampas 40
Pampas 50
Aster 60
Aster 70
Chenille 80
Chenille 90
Aster 100
Pampas 110

--
Kind regards,
Stevet


--
Kind regards,
Stevet
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Condense data for stock ordering

Hi,

To get all the unique fabric types in column D, you can use advanced filters

1. Go to Data Filter Advanced Filter
2. In the report type select "Copy to another location"
3. In the list range , select A1:A12 (assuming that the heading is in row
1)
4. Leave the criteria range blank;
5. In the copy to box, select D1:D12
6. Check the box for unique records only
7. Click on OK

This will get you all the unique fabric types in column D.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Stevet" wrote in message
...
Hi all,
Can anybody help with this problem, I have column
A and B in another worksheet and I want to condense the list to only the
information in columns D and E. I have the formula for column E (thanks to
Luke), I now just need the formula for column D. Incidently, the formula
in
column E is =IF(D2="","",(SUMIF($A$2:$A$12,D2,$B$2:$B$12)))

A B D E
Fabric Quantity Fabric Quantity
Chenille 10 Chenille 230
Chenille 20 Pampas 200
Chenille 30 Aster 230
Pampas 40
Pampas 50
Aster 60
Aster 70
Chenille 80
Chenille 90
Aster 100
Pampas 110

--
Kind regards,
Stevet


--
Kind regards,
Stevet


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Condense data for stock ordering

Hi Steve

Try these formulas in D2 and E2
--Put headers in D1 and E1

--In D2..(Array entered).. dont just enter; use CTRL+SHIFT+ENTER to apply
the formula
=IF(MIN(IF(ISNA(MATCH($A$1:$A$12,$D$1:D1,0)),ROW($ A$1:$A$12))),
INDEX($A$1:$A$12,MIN(IF(ISNA(MATCH($A$1:$A$12,$D$1 :D1,0)),
ROW($A$1:$A$12)))),"")
'Edit the range A12 to suit your requirement

--In E2
=IF(D2="","",SUMIF(A:A,D2,B:B))

If this post helps click Yes
---------------
Jacob Skaria


"Stevet" wrote:

Hi all,
Can anybody help with this problem, I have column
A and B in another worksheet and I want to condense the list to only the
information in columns D and E. I have the formula for column E (thanks to
Luke), I now just need the formula for column D. Incidently, the formula in
column E is =IF(D2="","",(SUMIF($A$2:$A$12,D2,$B$2:$B$12)))

A B D E
Fabric Quantity Fabric Quantity
Chenille 10 Chenille 230
Chenille 20 Pampas 200
Chenille 30 Aster 230
Pampas 40
Pampas 50
Aster 60
Aster 70
Chenille 80
Chenille 90
Aster 100
Pampas 110

--
Kind regards,
Stevet


--
Kind regards,
Stevet

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default Condense data for stock ordering

Thankyou Jacob, That was exactly what I was looking for.
I don't know what half of it means, but I will endeaver to understand the
logic behind it, I just don't have the time at the moment.
Once again, thanks very much.
--
Kind regards,
Stevet


"Jacob Skaria" wrote:

Hi Steve

Try these formulas in D2 and E2
--Put headers in D1 and E1

--In D2..(Array entered).. dont just enter; use CTRL+SHIFT+ENTER to apply
the formula
=IF(MIN(IF(ISNA(MATCH($A$1:$A$12,$D$1:D1,0)),ROW($ A$1:$A$12))),
INDEX($A$1:$A$12,MIN(IF(ISNA(MATCH($A$1:$A$12,$D$1 :D1,0)),
ROW($A$1:$A$12)))),"")
'Edit the range A12 to suit your requirement

--In E2
=IF(D2="","",SUMIF(A:A,D2,B:B))

If this post helps click Yes
---------------
Jacob Skaria


"Stevet" wrote:

Hi all,
Can anybody help with this problem, I have column
A and B in another worksheet and I want to condense the list to only the
information in columns D and E. I have the formula for column E (thanks to
Luke), I now just need the formula for column D. Incidently, the formula in
column E is =IF(D2="","",(SUMIF($A$2:$A$12,D2,$B$2:$B$12)))

A B D E
Fabric Quantity Fabric Quantity
Chenille 10 Chenille 230
Chenille 20 Pampas 200
Chenille 30 Aster 230
Pampas 40
Pampas 50
Aster 60
Aster 70
Chenille 80
Chenille 90
Aster 100
Pampas 110

--
Kind regards,
Stevet


--
Kind regards,
Stevet

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default Condense data for stock ordering

Thanks for your help Ashish, unfortunately that was not quite what I wanted.
--
Kind regards,
Stevet


"Ashish Mathur" wrote:

Hi,

To get all the unique fabric types in column D, you can use advanced filters

1. Go to Data Filter Advanced Filter
2. In the report type select "Copy to another location"
3. In the list range , select A1:A12 (assuming that the heading is in row
1)
4. Leave the criteria range blank;
5. In the copy to box, select D1:D12
6. Check the box for unique records only
7. Click on OK

This will get you all the unique fabric types in column D.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Stevet" wrote in message
...
Hi all,
Can anybody help with this problem, I have column
A and B in another worksheet and I want to condense the list to only the
information in columns D and E. I have the formula for column E (thanks to
Luke), I now just need the formula for column D. Incidently, the formula
in
column E is =IF(D2="","",(SUMIF($A$2:$A$12,D2,$B$2:$B$12)))

A B D E
Fabric Quantity Fabric Quantity
Chenille 10 Chenille 230
Chenille 20 Pampas 200
Chenille 30 Aster 230
Pampas 40
Pampas 50
Aster 60
Aster 70
Chenille 80
Chenille 90
Aster 100
Pampas 110

--
Kind regards,
Stevet


--
Kind regards,
Stevet


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
set up a stock ordering system in excel working backwards Devil's Isle Setting up and Configuration of Excel 1 October 17th 09 04:40 PM
Re-Ordering Data Sets in Charts Stonewall Charts and Charting in Excel 3 May 21st 07 04:48 PM
using VLOOKUP to condense data on separate spreadsheet ORLFREIGHTBOY Excel Worksheet Functions 3 February 28th 07 06:29 PM
a data ordering question 無聊的路人甲 Excel Discussion (Misc queries) 1 August 17th 06 05:21 AM
free templates for stock ordering, etc. roger_home Excel Discussion (Misc queries) 1 January 19th 06 02:32 AM


All times are GMT +1. The time now is 01:41 PM.

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"