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

Hi Folks,

I volunteer time to a non-profit organization that monitors
agricultural chemical applications. The recordkeeping is tedious. My
skills with VB are self-taught, and limited in scope. In an attempt
to speed up data entry, I've written some successful procedures.
However, now I'm stuck.

I'd like to enter a chemical name such as "Roundup" in cell G10, that
would trigger an automatic entry in cell H10 of "Monsanto", and
another auto-entry in cell I10 of "123-456", and yet another
auto-entry in J10 of "12 Hours". In the next row, cell G11 could be a
different chemical and require different info in the subsequent cells.

I've toyed with an IFTHEN procedure, and experimented with ToLeft to
jump to the next empty cell in the row. No luck. I think I'm in over
my head (or skill levels) and removed the entire module in
frustration.

Please help, and if you would, give explicit details about how it
works......I'm eager to learn.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Auto enter data

Assume you have data laid out as a table in another sheet
A B C C
Key Name Alias Serial Resouces
Roundup Monsanto 123-456 12 Hours
T-Other Something 86-222 6 Hours

Headers in Row 1

so in H10

=If($G10="","",Vlookup(G10,Sheet2!$A$1:$D$500,2,Fa lse))

in I 10
=If($G10="","",Vlookup(G10,Sheet2!$A$1:$D$500,3,Fa lse))

in J10
=If($G10="","",Vlookup(G10,Sheet2!$A$1:$D$500,4,Fa lse))

This will then do what you describe.

--
Regards,
Tom Ogilvy



"Don" wrote in message
...
Hi Folks,

I volunteer time to a non-profit organization that monitors
agricultural chemical applications. The recordkeeping is tedious. My
skills with VB are self-taught, and limited in scope. In an attempt
to speed up data entry, I've written some successful procedures.
However, now I'm stuck.

I'd like to enter a chemical name such as "Roundup" in cell G10, that
would trigger an automatic entry in cell H10 of "Monsanto", and
another auto-entry in cell I10 of "123-456", and yet another
auto-entry in J10 of "12 Hours". In the next row, cell G11 could be a
different chemical and require different info in the subsequent cells.

I've toyed with an IFTHEN procedure, and experimented with ToLeft to
jump to the next empty cell in the row. No luck. I think I'm in over
my head (or skill levels) and removed the entire module in
frustration.

Please help, and if you would, give explicit details about how it
works......I'm eager to learn.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Auto enter data

On Thu, 2 Oct 2003 10:23:37 -0400, "Tom Ogilvy"
wrote:

Assume you have data laid out as a table in another sheet
A B C C
Key Name Alias Serial Resouces
Roundup Monsanto 123-456 12 Hours
T-Other Something 86-222 6 Hours

Headers in Row 1

so in H10

=If($G10="","",Vlookup(G10,Sheet2!$A$1:$D$500,2,F alse))

in I 10
=If($G10="","",Vlookup(G10,Sheet2!$A$1:$D$500,3,F alse))

in J10
=If($G10="","",Vlookup(G10,Sheet2!$A$1:$D$500,4,F alse))

This will then do what you describe.



Tom,

I works!!! Thanks so much! You are definately a lifesaver!

Don
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
Enter info in one sheet, auto enter in another based on one field The BusyHighLighter[_2_] New Users to Excel 1 August 1st 07 10:54 PM
auto format cell to enter data alphabet in column dee Excel Worksheet Functions 1 May 10th 07 05:52 PM
Auto enter date when data in enter in another cell Brian Excel Worksheet Functions 5 December 7th 06 06:44 PM
how do I turn ON auto REcalculate for formulas if new data enter? Mark Excel Worksheet Functions 1 January 19th 06 03:19 AM
Auto-Enter Data from One Sheet to Another Christopher in Bellefontaine Excel Discussion (Misc queries) 4 April 24th 05 03:57 AM


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