PC Review


Reply
Thread Tools Rate Thread

Advanced use of LARGE function

 
 
=?Utf-8?B?Skxlb25p?=
Guest
Posts: n/a
 
      10th Jul 2006
I've looked through all the posts I could find back to 2005 and couldn't find
the exact answer to my question.

Setup:

I have created a VB form which populates a hidden data sheet.
Column A is account numbers - each unique
Column B is a Vendor name NOT UNIQUE

Problem:

I need to use the LARGE function to find the LAST number given to each of
the vendors

So what I think I'm looking for is a nested IF statement in a LARGE or the
other way around. Not quiet sure though how to formulate this.

Thanks in advance I know you all always come up with the answer

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Skxlb25p?=
Guest
Posts: n/a
 
      10th Jul 2006
Or maybe do I want a FIND function with a nested LARGE?

"JLeoni" wrote:

> I've looked through all the posts I could find back to 2005 and couldn't find
> the exact answer to my question.
>
> Setup:
>
> I have created a VB form which populates a hidden data sheet.
> Column A is account numbers - each unique
> Column B is a Vendor name NOT UNIQUE
>
> Problem:
>
> I need to use the LARGE function to find the LAST number given to each of
> the vendors
>
> So what I think I'm looking for is a nested IF statement in a LARGE or the
> other way around. Not quiet sure though how to formulate this.
>
> Thanks in advance I know you all always come up with the answer
>

 
Reply With Quote
 
Die_Another_Day
Guest
Posts: n/a
 
      10th Jul 2006
Assuming your non-unique is in Cell d1...
=MAX(IF(A1:A126=D1,B1:B126,""))
then press Ctrl+Shift+Enter

HTH

Die_Another_Day
JLeoni wrote:
> I've looked through all the posts I could find back to 2005 and couldn't find
> the exact answer to my question.
>
> Setup:
>
> I have created a VB form which populates a hidden data sheet.
> Column A is account numbers - each unique
> Column B is a Vendor name NOT UNIQUE
>
> Problem:
>
> I need to use the LARGE function to find the LAST number given to each of
> the vendors
>
> So what I think I'm looking for is a nested IF statement in a LARGE or the
> other way around. Not quiet sure though how to formulate this.
>
> Thanks in advance I know you all always come up with the answer


 
Reply With Quote
 
Richard Buttrey
Guest
Posts: n/a
 
      10th Jul 2006
On Mon, 10 Jul 2006 11:45:02 -0700, JLeoni
<(E-Mail Removed)> wrote:

>I've looked through all the posts I could find back to 2005 and couldn't find
>the exact answer to my question.
>
>Setup:
>
>I have created a VB form which populates a hidden data sheet.
>Column A is account numbers - each unique
>Column B is a Vendor name NOT UNIQUE
>
>Problem:
>
>I need to use the LARGE function to find the LAST number given to each of
>the vendors
>
>So what I think I'm looking for is a nested IF statement in a LARGE or the
>other way around. Not quiet sure though how to formulate this.
>
>Thanks in advance I know you all always come up with the answer


One way, and no doubt there are several others is as follows

Sort columns A:B with B as the first sort and A as the second - both
ascending.

Then in C1, assuming data is in A1:B12 enter

=INDIRECT("A"&MATCH(B1,$B$1:$B$12))

and copy down

the largest account number is repeated for each of the vendors

If you want to preserve the original order, then before the sort fill
a helper column with 1:12, do the sort including the helper column,
range value column B and resprt on the helper column.

HTH



__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
large function result as reference for offset function Z Microsoft Excel Misc 1 5th May 2009 12:55 AM
Advanced Filtering 'locks' on large database BEEJAY Microsoft Excel Misc 0 30th Mar 2009 04:48 PM
Advanced 'SUMPRODUCT' formula - MAX or LARGE?? carol Microsoft Excel Misc 4 21st Jul 2008 04:05 PM
XL2002 - OFFSET function and LARGE function Trevor Williams Microsoft Excel Worksheet Functions 3 3rd Mar 2008 01:40 PM
Advanced paste function - OFFSET function =?Utf-8?B?Z3NlbHR6?= Microsoft Excel Worksheet Functions 0 26th Feb 2004 04:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:49 AM.