Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Searching numbers in Worksheet


In my Worksheet I have 80 columns (80) numbers with over 100 rows.
All numbers (1-80) in each row are mixed.
I picked 20 random numbers between 1 and 80.
My conditional formating formula marks in each row 20 numbers that I
picked.
The conditional formating formula is: =MATCH(A1,$CC$1:$CC$20,0)
I have divided the worksheet in to 2 even parts (40 numbers/columns on
each side).
I want to know if it is possible to make conditional formating formula
to show me how many numbers that I have picked is in first 40 cells and
how many numbers is in second lot of 40 cells in the same row.
I would like the formula to disply the result at the end of each row.
Is it possible?
If you need more explanations please let me know.
Thanks in advance for your help.
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile: http://www.excelforum.com/member.php...o&userid=16582
View this thread: http://www.excelforum.com/showthread...hreadid=567296

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Searching numbers in Worksheet

Hi!

Try this:

For the first 40 columns:

=SUMPRODUCT(COUNTIF(A1:AN1,CC$1:CC$20))

For the second 40 columns:

=SUMPRODUCT(COUNTIF(AO1:CB1,CC$1:CC$20))

Copy down as needed.

Biff

"Johncobb45" wrote
in message ...

In my Worksheet I have 80 columns (80) numbers with over 100 rows.
All numbers (1-80) in each row are mixed.
I picked 20 random numbers between 1 and 80.
My conditional formating formula marks in each row 20 numbers that I
picked.
The conditional formating formula is: =MATCH(A1,$CC$1:$CC$20,0)
I have divided the worksheet in to 2 even parts (40 numbers/columns on
each side).
I want to know if it is possible to make conditional formating formula
to show me how many numbers that I have picked is in first 40 cells and
how many numbers is in second lot of 40 cells in the same row.
I would like the formula to disply the result at the end of each row.
Is it possible?
If you need more explanations please let me know.
Thanks in advance for your help.
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile:
http://www.excelforum.com/member.php...o&userid=16582
View this thread: http://www.excelforum.com/showthread...hreadid=567296



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Searching numbers in Worksheet

P.S.

I'm assuming there are no duplicate numbers in a row or duplicate random
numbers.

Biff

"Biff" wrote in message
...
Hi!

Try this:

For the first 40 columns:

=SUMPRODUCT(COUNTIF(A1:AN1,CC$1:CC$20))

For the second 40 columns:

=SUMPRODUCT(COUNTIF(AO1:CB1,CC$1:CC$20))

Copy down as needed.

Biff

"Johncobb45"
wrote in message
...

In my Worksheet I have 80 columns (80) numbers with over 100 rows.
All numbers (1-80) in each row are mixed.
I picked 20 random numbers between 1 and 80.
My conditional formating formula marks in each row 20 numbers that I
picked.
The conditional formating formula is: =MATCH(A1,$CC$1:$CC$20,0)
I have divided the worksheet in to 2 even parts (40 numbers/columns on
each side).
I want to know if it is possible to make conditional formating formula
to show me how many numbers that I have picked is in first 40 cells and
how many numbers is in second lot of 40 cells in the same row.
I would like the formula to disply the result at the end of each row.
Is it possible?
If you need more explanations please let me know.
Thanks in advance for your help.
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile:
http://www.excelforum.com/member.php...o&userid=16582
View this thread:
http://www.excelforum.com/showthread...hreadid=567296





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Searching numbers in Worksheet


Thank you Biff.
Well done.
It works well.
I appreciate your help.
Best Regards,
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile: http://www.excelforum.com/member.php...o&userid=16582
View this thread: http://www.excelforum.com/showthread...hreadid=567296

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Searching numbers in Worksheet

You're welcome. Thanks for the feedback!

Biff

"Johncobb45" wrote
in message ...

Thank you Biff.
Well done.
It works well.
I appreciate your help.
Best Regards,
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile:
http://www.excelforum.com/member.php...o&userid=16582
View this thread: http://www.excelforum.com/showthread...hreadid=567296





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Searching numbers in Worksheet


I have one more question.
Is it possible to fill random numbers in a column?
I want excel to enter for me 20 random numbers (between 1 and 80) in to
a column.
Is it possible to do it with one click instead entering them manualy
one by one, for example by clicking or filling just one top cell?
If you need more explanations please let me know.
Regards,
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile: http://www.excelforum.com/member.php...o&userid=16582
View this thread: http://www.excelforum.com/showthread...hreadid=567296

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Searching numbers in Worksheet

See this:

http://mcgimpsey.com/excel/udfs/randint.html

Biff

"Johncobb45" wrote
in message ...

I have one more question.
Is it possible to fill random numbers in a column?
I want excel to enter for me 20 random numbers (between 1 and 80) in to
a column.
Is it possible to do it with one click instead entering them manualy
one by one, for example by clicking or filling just one top cell?
If you need more explanations please let me know.
Regards,
John


--
Johncobb45
------------------------------------------------------------------------
Johncobb45's Profile:
http://www.excelforum.com/member.php...o&userid=16582
View this thread: http://www.excelforum.com/showthread...hreadid=567296



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
Searching numbers in Worksheet? Johncobb45 Excel Worksheet Functions 2 July 31st 06 10:02 AM
Worksheet function for range of numbers brendan_doc Excel Worksheet Functions 1 February 9th 06 06:15 PM
How can I create a fill that increments based on worksheet numbers Amanda097 Excel Worksheet Functions 3 February 7th 06 08:39 PM
how can I check a worksheet for duplicate entries or numbers? RFI Excel Worksheet Functions 1 October 19th 05 04:08 AM
How do I convert numbers into words in excell worksheet? Surendra Excel Worksheet Functions 1 December 31st 04 12:17 PM


All times are GMT +1. The time now is 02:42 AM.

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"