Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
timmyc
 
Posts: n/a
Default Some function problems


1) What function would i need to look down a list and bring back a name
that corresponds to the highest number next to it. E.g. finding the
highest attendance and bringing back the name next to it? I have done
a max function then done a vlookup connected to that but this has not
worked correctly.

2) I have a combo box displaying the names of products in a shop and a
scroll bar which displays numbers, both have been linked to cells and i
have done the appropriate vlookup to bring back the name of the stock in
the cell below. What I would like to do is run a macro that will add
the number of stock sold indicated by the scroll bar for the product
selected by the combo box to the "No. of Stock Needed" on another
sheet. How would I do this? (I know how to record macros etc. its just
the formula/functions/how to get the round the problem that I dont
know.

Please help as this is coursework in for Friday!

Thanks, Tim


--
timmyc
------------------------------------------------------------------------
timmyc's Profile: http://www.excelforum.com/member.php...o&userid=31198
View this thread: http://www.excelforum.com/showthread...hreadid=509422

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Some function problems

A1:A10 has names; b1:B10 has numbers
=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))
find the name associated with the max number
Max finds value of maximum;
MATCH find what row that value is in;
INDEX looks up a specific entry in an given array
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"timmyc" wrote in
message ...

1) What function would i need to look down a list and bring back a name
that corresponds to the highest number next to it. E.g. finding the
highest attendance and bringing back the name next to it? I have done
a max function then done a vlookup connected to that but this has not
worked correctly.

2) I have a combo box displaying the names of products in a shop and a
scroll bar which displays numbers, both have been linked to cells and i
have done the appropriate vlookup to bring back the name of the stock in
the cell below. What I would like to do is run a macro that will add
the number of stock sold indicated by the scroll bar for the product
selected by the combo box to the "No. of Stock Needed" on another
sheet. How would I do this? (I know how to record macros etc. its just
the formula/functions/how to get the round the problem that I dont
know.

Please help as this is coursework in for Friday!

Thanks, Tim


--
timmyc
------------------------------------------------------------------------
timmyc's Profile:
http://www.excelforum.com/member.php...o&userid=31198
View this thread: http://www.excelforum.com/showthread...hreadid=509422



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
Linest function: data selection problems NathanG Excel Worksheet Functions 1 August 26th 05 04:12 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
opening up an english excel sheet onto a french verions - problems with edate function [email protected] Excel Discussion (Misc queries) 0 February 20th 05 01:37 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 12:07 PM.

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"