Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default If conditions for Data Entry Form

I have a excel database that I track multiple entries based on customer ID
#s. Depending on the ID # depends on what sheet the data goes on. Each sheet
is set up the same way, in a couple of the columns I have the vlookup formula
that looks up the ID # that is typed in and if it is listed on the
appointment sheet, that sheet tracks all the appointments, the vlookup (in
column A of all the sheets) will display the appointment date (if one exist)
otherwise it would be blank.

What I need to know is two things:
First is it possible to have the form put the new data on the proper sheet
depending on the customer ID #? (example if the ID # is 154 it would go on
sheet 1, if it is 267 it would go on sheet 2, 312 would go on sheet 3, and so
on)

Second, if it is possible to have the vlookup be automatically be put in the
cell that accomplishes the lookup depending on the ID #? (Example; column C
is the customer ID# 154 and column A is the vlookup of the ID # that would
display the appointment date 10/01/10.) I need the vlookup formula to be
entered into column A in case the appointment date is changed, this is so
that date will always display the correct date.

Thank you in advance for the any help or webs site information that may help.

Curt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default If conditions for Data Entry Form

How is the customer ID# entered by the user? Inputbox, textbox, Cell on
sheet? Is the input control on a UserForm? It would help if you could post
the related code for entering the User ID #.



"Curtd" wrote in message
...
I have a excel database that I track multiple entries based on customer ID
#s. Depending on the ID # depends on what sheet the data goes on. Each
sheet
is set up the same way, in a couple of the columns I have the vlookup
formula
that looks up the ID # that is typed in and if it is listed on the
appointment sheet, that sheet tracks all the appointments, the vlookup (in
column A of all the sheets) will display the appointment date (if one
exist)
otherwise it would be blank.

What I need to know is two things:
First is it possible to have the form put the new data on the proper sheet
depending on the customer ID #? (example if the ID # is 154 it would go on
sheet 1, if it is 267 it would go on sheet 2, 312 would go on sheet 3, and
so
on)

Second, if it is possible to have the vlookup be automatically be put in
the
cell that accomplishes the lookup depending on the ID #? (Example; column
C
is the customer ID# 154 and column A is the vlookup of the ID # that would
display the appointment date 10/01/10.) I need the vlookup formula to be
entered into column A in case the appointment date is changed, this is so
that date will always display the correct date.

Thank you in advance for the any help or webs site information that may
help.

Curt



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
Data Entry Form Gazz_85[_2_] Excel Discussion (Misc queries) 3 September 11th 09 01:18 PM
Data Entry Form Steve Excel Programming 10 June 14th 07 11:58 PM
Data Entry Form P.Jaimal Excel Programming 2 November 29th 05 05:23 AM
Data Entry Form (similar to default Excel DataForm) tonydm Excel Programming 0 October 11th 05 07:59 PM
Combining conditions for data entry validation Richard H Knoff Excel Worksheet Functions 10 November 14th 04 01:49 PM


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