Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Excel check box making list

I have a list of names with check boxes next to it. I want to create a list
of the names on the same sheet of all checked boxes without blank rows. I
can use IF statement to assign to a single cell but this results in blank
rows of unchecked item. Does anyone know how I can do this? Please help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel check box making list

Are the check boxes linked to cells?

Let's assume the names are in the range A1:A10.
Check boxes in the range B1:B10 and B1:B10 are the linked cells.

Enter this array formula** in D1 and copy down until you get blanks:

=IF(ROWS(D$1:D1)<=SUM(--B$1:B$10),INDEX(A$1:A$10,SMALL(IF(B$1:B$10,ROW(A$1 :A$10)),ROWS(D$1:D1))-ROW(A$1)+1),"")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"boatatsea" wrote in message
...
I have a list of names with check boxes next to it. I want to create a
list
of the names on the same sheet of all checked boxes without blank rows. I
can use IF statement to assign to a single cell but this results in blank
rows of unchecked item. Does anyone know how I can do this? Please help!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Excel check box making list

Thanks!! Exactly what I needed!

"T. Valko" wrote:

Are the check boxes linked to cells?

Let's assume the names are in the range A1:A10.
Check boxes in the range B1:B10 and B1:B10 are the linked cells.

Enter this array formula** in D1 and copy down until you get blanks:

=IF(ROWS(D$1:D1)<=SUM(--B$1:B$10),INDEX(A$1:A$10,SMALL(IF(B$1:B$10,ROW(A$1 :A$10)),ROWS(D$1:D1))-ROW(A$1)+1),"")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"boatatsea" wrote in message
...
I have a list of names with check boxes next to it. I want to create a
list
of the names on the same sheet of all checked boxes without blank rows. I
can use IF statement to assign to a single cell but this results in blank
rows of unchecked item. Does anyone know how I can do this? Please help!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Excel check box making list

Actually, I'm still having problems. what if the names are in the range of
A4:A5, D4:D5,G4:G5,J4:J5? and the check boxes in the columns next to the
names? How do you tweak this formula?


"T. Valko" wrote:

Are the check boxes linked to cells?

Let's assume the names are in the range A1:A10.
Check boxes in the range B1:B10 and B1:B10 are the linked cells.

Enter this array formula** in D1 and copy down until you get blanks:

=IF(ROWS(D$1:D1)<=SUM(--B$1:B$10),INDEX(A$1:A$10,SMALL(IF(B$1:B$10,ROW(A$1 :A$10)),ROWS(D$1:D1))-ROW(A$1)+1),"")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"boatatsea" wrote in message
...
I have a list of names with check boxes next to it. I want to create a
list
of the names on the same sheet of all checked boxes without blank rows. I
can use IF statement to assign to a single cell but this results in blank
rows of unchecked item. Does anyone know how I can do this? Please help!




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel check box making list

Well, that changes things considerably!

Since the data in question is not in a contiguous range you'd have to use a
intermediate list and then extract the data from this intermediate list.

Assuming the linked cells are B4:B5, E4:E5, H4:H5, K4:K5

Create the intermediate list:

A10: =IF(B4,A4,"")
A11: =IF(B5,A5,"")
A12: =IF(E4,D4,"")
A13: =IF(E5,D5,"")
A14: =IF(H4,G4,"")
A15: =IF(H5,G5,"")
A16: =IF(K4,J4,"")
A17: =IF(K5,J5,"")

Then, to get the names in a contiguous list, array entered in B10 and copied
down to B17:

=IF(ROWS(B$10:B10)<=COUNTIF(A$10:A$17,"?*"),INDEX( A$10:A$17,SMALL(IF(A$10:A$17<"",ROW(A$10:A$17)),R OWS(A$10:A10))-ROW(A$10)+1),"")

--
Biff
Microsoft Excel MVP


"boatatsea" wrote in message
...
Actually, I'm still having problems. what if the names are in the range
of
A4:A5, D4:D5,G4:G5,J4:J5? and the check boxes in the columns next to the
names? How do you tweak this formula?


"T. Valko" wrote:

Are the check boxes linked to cells?

Let's assume the names are in the range A1:A10.
Check boxes in the range B1:B10 and B1:B10 are the linked cells.

Enter this array formula** in D1 and copy down until you get blanks:

=IF(ROWS(D$1:D1)<=SUM(--B$1:B$10),INDEX(A$1:A$10,SMALL(IF(B$1:B$10,ROW(A$1 :A$10)),ROWS(D$1:D1))-ROW(A$1)+1),"")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"boatatsea" wrote in message
...
I have a list of names with check boxes next to it. I want to create a
list
of the names on the same sheet of all checked boxes without blank rows.
I
can use IF statement to assign to a single cell but this results in
blank
rows of unchecked item. Does anyone know how I can do this? Please
help!






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
making check boxes bkunes Excel Worksheet Functions 5 February 29th 08 04:40 PM
Making a Formula Contingent on Check Boxes [email protected] Excel Worksheet Functions 5 July 3rd 07 02:51 PM
Do you have instructions for making check boxes? Renee Alborn Excel Worksheet Functions 1 January 25th 05 02:05 PM
Do you have instructions for making check boxes? RAlborn Excel Worksheet Functions 0 January 25th 05 01:49 PM
Making a check book ledger Wondering Why New Users to Excel 11 January 1st 05 12:36 PM


All times are GMT +1. The time now is 11:39 PM.

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

About Us

"It's about Microsoft Excel"