Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all.
I am getting really wound up by a report I am running in Excel. I have a list of customers and items they have purchased i.e Mr Bloggs Face Cream Mr Bloggs Massage Pad Mr Bloggs Free Gift Miss Jones Face Cream I need a way of finding the first (or last) entry for each customer regardless of how many other entries there are in the list. Once I have the entry, I need to then do more calculations on that line. I have tried the basic idea of equals the line above or line below, but when you have 5 or more lines that doesn't work. I know it's something simple but I can't work it out. Please help. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
your table is A2:B5,you type your name in a1= mr bloggs
=vlookup(a1,a2:b5,1,false) will find say mr bloggs(first instance) =vlookup(a1,a2:b5,2,false) will find face cream -- paul remove nospam for email addy! "Andy Hessey" wrote: Hi all. I am getting really wound up by a report I am running in Excel. I have a list of customers and items they have purchased i.e Mr Bloggs Face Cream Mr Bloggs Massage Pad Mr Bloggs Free Gift Miss Jones Face Cream I need a way of finding the first (or last) entry for each customer regardless of how many other entries there are in the list. Once I have the entry, I need to then do more calculations on that line. I have tried the basic idea of equals the line above or line below, but when you have 5 or more lines that doesn't work. I know it's something simple but I can't work it out. Please help. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() SEE ATTACHED ZIP FILE. it allows you to type in a name and whether you want earliest or latest gift. you should be able to figure out how it works from the formulas. -- robert111 ------------------------------------------------------------------------ robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996 View this thread: http://www.excelforum.com/showthread...hreadid=565520 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Creating a check mark box | Setting up and Configuration of Excel | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |