Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Talking Compare 400 cells to one

I'm using a drop down box that contains 1000 different choices. I'm using the same drop down box in 400 places on 8 sheets in a workbook. I want to make sure the same value is not used more than once. I've tried usine the =if(or(F9=F11,F9=F13,F9=F15,F9=F17,F9=F19......)"U sed", "OK"). But it will not let me use more than 32 values. How do i compare the 400 different cells to one to make sure the value is not picked more than once?

Last edited by Bill Lyttle : June 29th 08 at 11:17 PM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Compare 400 cells to one

=IF(SUMPRODUCT((F11:F100=F9)*(MOD(ROW(F11:F100),2) =1))0,"Used","OK")


"Bill Lyttle" wrote:


I'm using a drop down box that contains 1000 different choices. I'm
using the same drop down box in 400 places on 8 sheets in a workbook. I
want to make sure the same value is not used more than once. I've tried
usine the =if(or(F9=F11,F9=F13,F9=F15,F9=F17,F9=F19......)"U sed",
"OK"). But it will not let me use more than 32 values. How do i compare
the 400 different cells to one to make sure the value is not picked more
than once?




--
Bill Lyttle

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default Compare 400 cells to one

When you say that "I want to make sure the same value is not used more than
once." Do you mean more than once on a specific sheet, or not more than once
on any of the 8 sheets?

Toothless Mama has shown a possible way to test in one column on one sheet,
you could do that for all sheets, coming up with individual results and then
combining the results if you need to test for any multiple usage on multiple
sheets.

"Bill Lyttle" wrote:


I'm using a drop down box that contains 1000 different choices. I'm
using the same drop down box in 400 places on 8 sheets in a workbook. I
want to make sure the same value is not used more than once. I've tried
usine the =if(or(F9=F11,F9=F13,F9=F15,F9=F17,F9=F19......)"U sed",
"OK"). But it will not let me use more than 32 values. How do i compare
the 400 different cells to one to make sure the value is not picked more
than once?




--
Bill Lyttle

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Compare 400 cells to one

One way to set it up for the DV control sought
Illustrated in this sample:
http://www.freefilehosting.net/download/3j2mb
Dynamic DV over several shts for unique selections.xls

In a sheet: DV,
Assume the DV items are listed in A2 down
Enter the source sheetnames in B1 across, eg: Sheet2, Sheet3
Assume the DVs are to be created in A2:A4 in each of the source sheets
Put in B2, copy across/filled down:
=COUNTIF(INDIRECT("'"&B$1&"'!A2:A4"),$A2)

Place in say, E2: =IF(SUM(B2:C2)0,"",ROW())
Leave E1 blank
In F2:
=IF(ROWS($1:1)COUNT(E:E),"",INDEX(A:A,SMALL(E:E,R OWS($1:1))))
Copy E2:F2 down. Col F will return the base list to be used for the dynamic
DV source

Create a dynamic defined range, say: MyR
to refer to:
=OFFSET(DV!$F$2,,,SUMPRODUCT(--(DV!$F$2:$F$6<"")))

Now you can create the DVs using MyR as source in Sheet2's & Sheet3's A2:A4,
and you would have the exact control that you seek. Any DV items once
selected, will no longer appear/be availed for selection in the remaining
(unselected) DV cells in any of the source sheets. Test it out and see for
yourself. Extend to suit.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Bill Lyttle" wrote in message
...
I'm using a drop down box that contains 1000 different choices. I'm
using the same drop down box in 400 places on 8 sheets in a workbook. I
want to make sure the same value is not used more than once. I've tried
usine the =if(or(F9=F11,F9=F13,F9=F15,F9=F17,F9=F19......)"U sed",
"OK"). But it will not let me use more than 32 values. How do i compare
the 400 different cells to one to make sure the value is not picked more
than once?
--
Bill Lyttle



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Compare 400 cells to one

Being a first time poster, it's important to start off right. This is a
discussion group, not a post-n-scarper. Do take the time to respond
individually to each response that you've received.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Compare 2 cells for a value T Excel Discussion (Misc queries) 3 January 4th 08 04:17 PM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM
Compare cells mtpsuresh Excel Worksheet Functions 2 February 23rd 06 09:35 AM
Compare two cells from reference cells Mike K Excel Worksheet Functions 2 November 26th 05 02:07 PM
Compare cells johnny Excel Discussion (Misc queries) 3 April 4th 05 05:49 PM


All times are GMT +1. The time now is 08:20 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"