Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2005

Tip: Looking for answers? Try searching our database.

returning a cell's value and a corresponding value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Force Flow - 24 Nov 2005 05:08 GMT
I'm attaching the exel file I'm having problems with.

I'm trying to write a forumula that will list the top 5 "TotalCharges"
in the "reservations" worksheet, and the corrisponding "CustNo".  Yo
can see what I attempted on the "totalcharges" worksheet.  

I can return the actual "TotalCharges" values, but not th
corresponding "CustNo" that goes along with it.  Is there a way to d
this so it works?

Or, can this not be done with formulas?  Should it somehow be done in
pivot table?  I'm stumped.

Thanks in advanc

+-------------------------------------------------------------------
|Filename: reservation data.zip                                    
|Download: http://www.excelforum.com/attachment.php?postid=4063     
+-------------------------------------------------------------------
Biff - 24 Nov 2005 06:16 GMT
Hi!

On the Reservations sheet:

Use another column, column L. Give it the header Rank.

In L2 enter this formula and copy down to L46:

=RANK(K2,$K$2:$K$46)+COUNTIF($K$2:K2,K2)-1

In the Topcharges sheet:

Enter this formula in C2 and copy down to C6:

=INDEX(reservations!C$2:C$46,MATCH(A2,reservations!L$2:L$46,0))

The top 5 customers are all C0005.

Biff

> I'm attaching the exel file I'm having problems with.
>
[quoted text clipped - 15 lines]
> |Download: http://www.excelforum.com/attachment.php?postid=4063     |
> +-------------------------------------------------------------------+
Force Flow - 24 Nov 2005 20:17 GMT
Biff Wrote:
> Hi!
>
[quoted text clipped - 55 lines]
> > View this thread:
> http://www.excelforum.com/showthread.php?threadid=487855

Great!  Thanks!  That did the trick

Signature

Force Flow

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.