Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a sheet where the user selects options up to 12 times, this
automatically generates a part number for each position. On another sheet I use a list of possible part numbers with COUNTIF functions in adjacent cells. This works fine, it puts "0" in every adjacent cell then counts how many times each part number is chosen. (about 40 part numbers) What I want to do now is pull out any part numbers that don't have a zero next to them and put them all in another list on another sheet with the quantities next to them?Part nos. A77:A128 Quantity (COUNTIF) B77:B128 Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assume source data as specified is in Sheet1
In Sheet2, Put in A1: =IF(Sheet1!B770,ROW(),"") Put in B1: =IF(ROW()COUNT($A:$A),"",INDEX(Sheet1!A$77:A$128, SMALL($A:$A,ROW()))) Copy B1 to C1. Select A1:C1, fill down to C52 to cover the extent of source data in Sheet1. Hide away col A. Cols B and C will return the required results all neatly bunched at the top. Results will be dynamic to changes in Sheet1. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "AndyB" wrote: I have a sheet where the user selects options up to 12 times, this automatically generates a part number for each position. On another sheet I use a list of possible part numbers with COUNTIF functions in adjacent cells. This works fine, it puts "0" in every adjacent cell then counts how many times each part number is chosen. (about 40 part numbers) What I want to do now is pull out any part numbers that don't have a zero next to them and put them all in another list on another sheet with the quantities next to them?Part nos. A77:A128 Quantity (COUNTIF) B77:B128 Thanks in advance |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Works prefectly, Thanks.
"Max" wrote: Assume source data as specified is in Sheet1 In Sheet2, Put in A1: =IF(Sheet1!B770,ROW(),"") Put in B1: =IF(ROW()COUNT($A:$A),"",INDEX(Sheet1!A$77:A$128, SMALL($A:$A,ROW()))) Copy B1 to C1. Select A1:C1, fill down to C52 to cover the extent of source data in Sheet1. Hide away col A. Cols B and C will return the required results all neatly bunched at the top. Results will be dynamic to changes in Sheet1. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "AndyB" wrote: I have a sheet where the user selects options up to 12 times, this automatically generates a part number for each position. On another sheet I use a list of possible part numbers with COUNTIF functions in adjacent cells. This works fine, it puts "0" in every adjacent cell then counts how many times each part number is chosen. (about 40 part numbers) What I want to do now is pull out any part numbers that don't have a zero next to them and put them all in another list on another sheet with the quantities next to them?Part nos. A77:A128 Quantity (COUNTIF) B77:B128 Thanks in advance |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
welcome, AndyB
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "AndyB" wrote in message ... Works prefectly, Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
count filtered rows based on condition greater than forty | Excel Worksheet Functions | |||
Copy rows of data (eliminating blank rows) from fixed layout | Excel Discussion (Misc queries) | |||
sort data rows "greater than or equal" criteria in another cell | Excel Worksheet Functions | |||
Charting when number of rows are greater than 65536 | Charts and Charting in Excel | |||
Worksheet that only shows rows with quantity greater than zero | Excel Discussion (Misc queries) |