Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default find holders name

Hi

XP. New to excel programming. How can I reach person 2 automatically
when I put ticket number 33 on sales sheet ? .Log table as below.

startno endno salesperson
1 15 person 1
16 35 person 2

Thank you very much in advance .
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find holders name

If you put 35 in A1 (rather than 33), you could retrieve that value with

=if(a1="","",vlookup(A1,Sales!A1:B200,2,False))

--
Regards,
Tom Ogilvy

"yusuf" wrote in message
m...
Hi

XP. New to excel programming. How can I reach person 2 automatically
when I put ticket number 33 on sales sheet ? .Log table as below.

startno endno salesperson
1 15 person 1
16 35 person 2

Thank you very much in advance .



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default find holders name

Thank you Tom.

I think I failed to detail my trouble.
ticket number 33 should be searched between start no and end no of the ticket
books that are given to sales person.I mean all ticket books are logged with
their start and end numbers.

Kind regards


"Tom Ogilvy" wrote in message ...
If you put 35 in A1 (rather than 33), you could retrieve that value with

=if(a1="","",vlookup(A1,Sales!A1:B200,2,False))

--

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find holders name

Will the numbers be sequential as you show?

--
Regards,
Tom Ogilvy


"yusuf" wrote in message
om...
Thank you Tom.

I think I failed to detail my trouble.
ticket number 33 should be searched between start no and end no of the

ticket
books that are given to sales person.I mean all ticket books are logged

with
their start and end numbers.

Kind regards


"Tom Ogilvy" wrote in message

...
If you put 35 in A1 (rather than 33), you could retrieve that value with

=if(a1="","",vlookup(A1,Sales!A1:B200,2,False))

--



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default find holders name

Not necessarly. But i can sort it if needed.

Kind regards / yusuf



"Tom Ogilvy" wrote in message ...
Will the numbers be sequential as you show?

--
Regards,
Tom Ogilvy


"yusuf" wrote in message
om...
Thank you Tom.

I think I failed to detail my trouble.
ticket number 33 should be searched between start no and end no of the

ticket
books that are given to sales person.I mean all ticket books are logged

with
their start and end numbers.

Kind regards


"Tom Ogilvy" wrote in message

...
If you put 35 in A1 (rather than 33), you could retrieve that value with

=if(a1="","",vlookup(A1,Sales!A1:B200,2,False))

--

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
How do I make a calendar and put lines in it as space holders Sort by Room and ABC[_2_] Excel Discussion (Misc queries) 1 September 26th 07 02:34 AM
Find First Non blank cell than find column header and return that value Silver Rose Excel Worksheet Functions 10 April 30th 07 05:56 PM
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
Despite data existing in Excel 2002 spreadsheet Find doesn't find AnnieB Excel Discussion (Misc queries) 1 June 16th 06 02:15 AM
backwards find function to find character in a string of text Ashleigh K. Excel Programming 1 January 14th 04 04:36 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"