Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default vlookup for maximum value

Hi,

i have a table with two columns: in column A are five different companies
and in column B are the numbers of outgoing invoices. i would like to find -
maybe by using vlookup function - the highest outgoing invoice nzmber at one
selected company. are there some kind of combination of formulas to solve
this problem?

thx in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default vlookup for maximum value

Go to Data--Subtotals and subtotal by PO number and select the MAX function
in the dialogue box. That should show you the largest numbered PO for each
company.

Just make sure your data is formatted as a table. See here for more info:
http://office.microsoft.com/en-us/as...097981033.aspx

Dave
--
Brevity is the soul of wit.


"Gábor" wrote:

Hi,

i have a table with two columns: in column A are five different companies
and in column B are the numbers of outgoing invoices. i would like to find -
maybe by using vlookup function - the highest outgoing invoice nzmber at one
selected company. are there some kind of combination of formulas to solve
this problem?

thx in advance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default vlookup for maximum value

many thanks! works great!
unfortunately i always try the harder way by myself:-( i made a macro which
ask for the company at start and then sort the invoices. now i can delete it
:-)

thx again!

"Dave F" wrote:

Go to Data--Subtotals and subtotal by PO number and select the MAX function
in the dialogue box. That should show you the largest numbered PO for each
company.

Just make sure your data is formatted as a table. See here for more info:
http://office.microsoft.com/en-us/as...097981033.aspx

Dave
--
Brevity is the soul of wit.


"Gábor" wrote:

Hi,

i have a table with two columns: in column A are five different companies
and in column B are the numbers of outgoing invoices. i would like to find -
maybe by using vlookup function - the highest outgoing invoice nzmber at one
selected company. are there some kind of combination of formulas to solve
this problem?

thx in advance!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default vlookup for maximum value

Well you could use a macro to do what you describe, but why bother when Excel
has the SUBTOTAL function....
--
Brevity is the soul of wit.


"Gábor" wrote:

many thanks! works great!
unfortunately i always try the harder way by myself:-( i made a macro which
ask for the company at start and then sort the invoices. now i can delete it
:-)

thx again!

"Dave F" wrote:

Go to Data--Subtotals and subtotal by PO number and select the MAX function
in the dialogue box. That should show you the largest numbered PO for each
company.

Just make sure your data is formatted as a table. See here for more info:
http://office.microsoft.com/en-us/as...097981033.aspx

Dave
--
Brevity is the soul of wit.


"Gábor" wrote:

Hi,

i have a table with two columns: in column A are five different companies
and in column B are the numbers of outgoing invoices. i would like to find -
maybe by using vlookup function - the highest outgoing invoice nzmber at one
selected company. are there some kind of combination of formulas to solve
this problem?

thx in advance!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default vlookup for maximum value

Try this

=SUMPRODUCT(MAX((A2:A100="company name")*(B2:B100)))

"Gábor" wrote:

Hi,

i have a table with two columns: in column A are five different companies
and in column B are the numbers of outgoing invoices. i would like to find -
maybe by using vlookup function - the highest outgoing invoice nzmber at one
selected company. are there some kind of combination of formulas to solve
this problem?

thx in advance!

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
VLOOKUP and its properties pepenacho Excel Worksheet Functions 1 August 22nd 06 10:52 PM
VLookup a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


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