Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default getting data from a database into a form

Hi all,
i am trying to create a form from a database.

in the first col is the account #.
in the second is the company name
and in the third to fiftyforth is each weeks spending

what i want to extract is first 3 weeks spend

ie.

ACC#..........Company
Name.........Wk1.........wk2.........Wk3.......... wk4......Wk5 ETC
123.............Company
1................34.............100........79..... .......221......333
321.............Company
2................21.............0.............0... ...........223......34
222.............Company
3................0................342.......0..... ..........0...........55
111.............Company
4................0................0............334 ..........429......123
234.............Company
5................0................0............0.. .............456......0
ECT

i want a form that will tell me what week company first first traded. the
form needs to look somethin like this

Company Name: Company 2.............ACC#: 321

week........spend
1..............21
4..............223
5..............24

i have figured out how to get the Company Name and other details in there by
only typing the account#, but i cant get the info above.

can someone please help me!!!!!!!!!!!!!!!!!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default getting data from a database into a form

Sorry all the database looks like this

ACC#..........CompanyName.........Wk1.........wk2. ........Wk3..........wk4......Wk5ETC
123.............Company1................34........ .100....
.....79............221......333
321.............Company2................21........ .0......
.....0..............223......34
222.............Company3................0......... 342.....
...0...............0........55
111.............Company4................0......... ..0............334......
.....429......123
234.............Company5................0......... ..0............0..............456......0
ECT

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default getting data from a database into a form

use VLOOKUP function

"brendan" wrote:

Hi all,
i am trying to create a form from a database.

in the first col is the account #.
in the second is the company name
and in the third to fiftyforth is each weeks spending

what i want to extract is first 3 weeks spend

ie.

ACC#..........Company
Name.........Wk1.........wk2.........Wk3.......... wk4......Wk5 ETC
123.............Company
1................34.............100........79..... .......221......333
321.............Company
2................21.............0.............0... ...........223......34
222.............Company
3................0................342.......0..... ..........0...........55
111.............Company
4................0................0............334 ..........429......123
234.............Company
5................0................0............0.. .............456......0
ECT

i want a form that will tell me what week company first first traded. the
form needs to look somethin like this

Company Name: Company 2.............ACC#: 321

week........spend
1..............21
4..............223
5..............24

i have figured out how to get the Company Name and other details in there by
only typing the account#, but i cant get the info above.

can someone please help me!!!!!!!!!!!!!!!!!!!

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
Merge Excel data into specific form areas in a Word Doc duugg Excel Discussion (Misc queries) 1 April 21st 06 08:25 PM
linking data to a form Nancy Excel Worksheet Functions 3 April 20th 06 10:16 PM
Data Entry Form Bethany L Excel Worksheet Functions 0 February 20th 06 06:23 PM
Data Entry Form and List Bethany L Excel Discussion (Misc queries) 0 February 17th 06 04:21 PM
How do I get an Access form in Excel to Expand the Data RogerN Excel Discussion (Misc queries) 0 February 25th 05 06:04 PM


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