#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default LARGE

Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In cell E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to have
for result the highest number as long as this number is lower than 200,000

Would anyone know how to write the formula?

Thanks for your time

Denys
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default LARGE

I smell an array formula. Try something like this, but *YOU MUST HOLD CTRL
WHEN PRESSING ENTER* to make it an array formula (shown with curly braces if
done right):

=IF($AC$2:$AC$65536200000,LARGE($AC$2:$AC$65536,1 ),0)


"Denys" wrote in message
...
Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In cell

E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to

have
for result the highest number as long as this number is lower than 200,000

Would anyone know how to write the formula?

Thanks for your time

Denys



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default LARGE

Hi, JM,

Thanks for your answer, Unfortunately, the answer becomes 457000.

But you gave me an idea. I'll try and come back...

Thanks again

Denys

"JM" wrote:

I smell an array formula. Try something like this, but *YOU MUST HOLD CTRL
WHEN PRESSING ENTER* to make it an array formula (shown with curly braces if
done right):

=IF($AC$2:$AC$65536200000,LARGE($AC$2:$AC$65536,1 ),0)


"Denys" wrote in message
...
Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In cell

E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to

have
for result the highest number as long as this number is lower than 200,000

Would anyone know how to write the formula?

Thanks for your time

Denys




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default LARGE

Oops, change the to <. Duh.


"Denys" wrote in message
...
Hi, JM,

Thanks for your answer, Unfortunately, the answer becomes 457000.

But you gave me an idea. I'll try and come back...

Thanks again

Denys

"JM" wrote:

I smell an array formula. Try something like this, but *YOU MUST HOLD

CTRL
WHEN PRESSING ENTER* to make it an array formula (shown with curly

braces if
done right):

=IF($AC$2:$AC$65536200000,LARGE($AC$2:$AC$65536,1 ),0)


"Denys" wrote in message
...
Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In

cell
E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to

have
for result the highest number as long as this number is lower than

200,000

Would anyone know how to write the formula?

Thanks for your time

Denys






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 364
Default LARGE

you could use the filter and the subtotal command
select column ac
click data/filter/ auto filter
click the arrow
select custom, is less than or equal to and enter 200000
then use the subtotal function

=SUBTOTAL(4,AC2:AC65535)

--


Gary


"Denys" wrote in message
...
Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In cell
E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to
have
for result the highest number as long as this number is lower than 200,000

Would anyone know how to write the formula?

Thanks for your time

Denys





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default LARGE

IF ? your numbers are sorted in ascending order try this:

=INDEX(ref,MATCH(200000,ref,1))

Regards,
Peter

"Denys" wrote in message
...
Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In cell

E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to

have
for result the highest number as long as this number is lower than 200,000

Would anyone know how to write the formula?

Thanks for your time

Denys



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default LARGE

Thanks JM,

Have a nice day....

Denys

"JM" wrote:

Oops, change the to <. Duh.


"Denys" wrote in message
...
Hi, JM,

Thanks for your answer, Unfortunately, the answer becomes 457000.

But you gave me an idea. I'll try and come back...

Thanks again

Denys

"JM" wrote:

I smell an array formula. Try something like this, but *YOU MUST HOLD

CTRL
WHEN PRESSING ENTER* to make it an array formula (shown with curly

braces if
done right):

=IF($AC$2:$AC$65536200000,LARGE($AC$2:$AC$65536,1 ),0)


"Denys" wrote in message
...
Good day everyone,

On An Excel sheet, I have a column filled with account numbers. In

cell
E1,
I have the following formula:
=LARGE($AC$2:$AC$65536,1)

Which gives me the highest number in the column. However, I 'd like to
have
for result the highest number as long as this number is lower than

200,000

Would anyone know how to write the formula?

Thanks for your time

Denys






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
LARGE Fesk Excel Worksheet Functions 4 November 8th 08 12:39 AM
Very Large Files Mike Excel Discussion (Misc queries) 4 October 18th 08 12:23 AM
LARGE 1, LARGE 2, LARGE 3, LARGE 4 jeel Excel Worksheet Functions 2 January 30th 08 06:05 AM
How to use large function? Eric Excel Discussion (Misc queries) 3 February 24th 07 05:27 PM
Sub too large ronreggin Excel Programming 4 July 13th 05 05:40 AM


All times are GMT +1. The time now is 06:53 AM.

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"