Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Filling a few cells based on the info from another worksheet.

I am creating an invoice. The data is to be pulled from a worksheet called
"DATA".
There is one row for each item. There may be several items per invoice. Each
are keyed with the "InvoiceNum" columnBA
On my invoice, I have named fields that represent each item on a row. But I
am not sure how to get the other items that are tied to the same invoice
number. There are only 2 cells that are needed and these are item and rate
(columns AU and AV)

Any ideas on how to do this?

I am using the example I D/L from http://j-walk.com/ss/excel/tips/tip92.htm
as my base.

Thanks
Bruce


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Filling a few cells based on the info from another worksheet.

See Debra Dalgleish's site for more on VLOOKUP and Data
Validation lists for entering the choices.

http://www.contextures.on.ca/xlFunctions02.html

http://www.contextures.on.ca/xlDataVal01.html

Note the section on using DV lists from another worksheet by naming the list.


Gord Dibben MS Excel MVP

On Mon, 21 May 2007 14:11:14 -0700, "Bruce" wrote:

I am creating an invoice. The data is to be pulled from a worksheet called
"DATA".
There is one row for each item. There may be several items per invoice. Each
are keyed with the "InvoiceNum" columnBA
On my invoice, I have named fields that represent each item on a row. But I
am not sure how to get the other items that are tied to the same invoice
number. There are only 2 cells that are needed and these are item and rate
(columns AU and AV)

Any ideas on how to do this?

I am using the example I D/L from http://j-walk.com/ss/excel/tips/tip92.htm
as my base.

Thanks
Bruce


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Filling a few cells based on the info from another worksheet.

Gord,

I am sorry if I am not quite understanding how this would help. I am fairly
familiar with vlookup(). This would give me one of several choices. What I
am wanting is to fill several rows(on WS forms) with ALL of the records that
matches the invoice number (from WS data).


Thanks
Bruce


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
See Debra Dalgleish's site for more on VLOOKUP and Data
Validation lists for entering the choices.

http://www.contextures.on.ca/xlFunctions02.html

http://www.contextures.on.ca/xlDataVal01.html

Note the section on using DV lists from another worksheet by naming the
list.


Gord Dibben MS Excel MVP

On Mon, 21 May 2007 14:11:14 -0700, "Bruce"
wrote:

I am creating an invoice. The data is to be pulled from a worksheet called
"DATA".
There is one row for each item. There may be several items per invoice.
Each
are keyed with the "InvoiceNum" columnBA
On my invoice, I have named fields that represent each item on a row. But
I
am not sure how to get the other items that are tied to the same invoice
number. There are only 2 cells that are needed and these are item and rate
(columns AU and AV)

Any ideas on how to do this?

I am using the example I D/L from
http://j-walk.com/ss/excel/tips/tip92.htm
as my base.

Thanks
Bruce



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Filling a few cells based on the info from another worksheet.

Bruce

I think I don't have a clear understanding of what you need.

You referenced the site for John's Elephants R Us mailmerge.

You have downloaded his sample workbook and are trying to adapt it to your
needs, right?

I'm not sure if that particular workbook is what you need for Invoices and how
to adapt it without re-working it.

Have you gone carefully over the Help sheet that John provides with the
workbook?


Gord

On Tue, 22 May 2007 07:58:26 -0700, "Bruce" wrote:

Gord,

I am sorry if I am not quite understanding how this would help. I am fairly
familiar with vlookup(). This would give me one of several choices. What I
am wanting is to fill several rows(on WS forms) with ALL of the records that
matches the invoice number (from WS data).


Thanks
Bruce


"Gord Dibben" <gorddibbATshawDOTca wrote in message
.. .
See Debra Dalgleish's site for more on VLOOKUP and Data
Validation lists for entering the choices.

http://www.contextures.on.ca/xlFunctions02.html

http://www.contextures.on.ca/xlDataVal01.html

Note the section on using DV lists from another worksheet by naming the
list.


Gord Dibben MS Excel MVP

On Mon, 21 May 2007 14:11:14 -0700, "Bruce"
wrote:

I am creating an invoice. The data is to be pulled from a worksheet called
"DATA".
There is one row for each item. There may be several items per invoice.
Each
are keyed with the "InvoiceNum" columnBA
On my invoice, I have named fields that represent each item on a row. But
I
am not sure how to get the other items that are tied to the same invoice
number. There are only 2 cells that are needed and these are item and rate
(columns AU and AV)

Any ideas on how to do this?

I am using the example I D/L from
http://j-walk.com/ss/excel/tips/tip92.htm
as my base.

Thanks
Bruce



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Filling a few cells based on the info from another worksheet.

In WS DATA, I have rows of data that contain different services I have
performed.
This data is structured like this
orderdate ServiceDate CustName..... JobItem(AU) JobPrice(AV) ...
InvoiceNum(BA)
1/23/07 1/25/07 Joe Doe Service1 150.00
12307-1a
1/23/07 1/25/07 Joe Doe Service2 125.00
12307-1a
1/23/07 1/25/07 Joe Doe Service2 125.00
12307-1a
1/23/07 1/25/07 Bob Smith Service1 150.00
12307-1b

For Joe Doe,
I would need to create someting like the following on FORMS
=INDIRECT("Data!aU" &RowIndex)
=INDIRECT("Data!aU" &RowIndex + 1) 'if this is the same invoicenum
=INDIRECT("Data!aU" &RowIndex + 2) 'if this is the same invoicenum
etc...
and then name each of these Invoiceitem1, Invoiceitem2, Invoiceitem3 etc...

=INDIRECT("Data!aV" &RowIndex)
=INDIRECT("Data!aV" &RowIndex + 1) 'if this is the same invoicenum
=INDIRECT("Data!aV" &RowIndex + 2) 'if this is the same invoicenum
etc...
and then name each of these InvoicePrice1, InvoicePrice2, InvoicePrice3
etc...

I am wondering if something like
=INDIRECT("Data!aV" &RowIndex)
=if(INDIRECT("Data!BA" &RowIndex +1) = INDIRECT("Data!BA" &RowIndex ),
INDIRECT("Data!aV" &RowIndex + 1),"")
=if(INDIRECT("Data!BA" &RowIndex +2) = INDIRECT("Data!BA" &RowIndex ),
INDIRECT("Data!aV" &RowIndex + 2),"")
=if(INDIRECT("Data!BA" &RowIndex +3) = INDIRECT("Data!BA" &RowIndex ),
INDIRECT("Data!aV" &RowIndex + 3),"")
etc

and
=INDIRECT("Data!aU" &RowIndex)
=if(INDIRECT("Data!BA" &RowIndex +1) = INDIRECT("Data!BA" &RowIndex ),
INDIRECT("Data!aU" &RowIndex + 1),"")
=if(INDIRECT("Data!BA" &RowIndex +2) = INDIRECT("Data!BA" &RowIndex ),
INDIRECT("Data!aU" &RowIndex + 2),"")
=if(INDIRECT("Data!BA" &RowIndex +3) = INDIRECT("Data!BA" &RowIndex ),
INDIRECT("Data!aU" &RowIndex + 3),"")
etc

There may be 1 item or upto 15...


Thanks
Bruce





"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Bruce

I think I don't have a clear understanding of what you need.

You referenced the site for John's Elephants R Us mailmerge.

You have downloaded his sample workbook and are trying to adapt it to your
needs, right?

I'm not sure if that particular workbook is what you need for Invoices and
how
to adapt it without re-working it.

Have you gone carefully over the Help sheet that John provides with the
workbook?


Gord

On Tue, 22 May 2007 07:58:26 -0700, "Bruce"
wrote:

Gord,

I am sorry if I am not quite understanding how this would help. I am
fairly
familiar with vlookup(). This would give me one of several choices. What I
am wanting is to fill several rows(on WS forms) with ALL of the records
that
matches the invoice number (from WS data).


Thanks
Bruce


"Gord Dibben" <gorddibbATshawDOTca wrote in message
. ..
See Debra Dalgleish's site for more on VLOOKUP and Data
Validation lists for entering the choices.

http://www.contextures.on.ca/xlFunctions02.html

http://www.contextures.on.ca/xlDataVal01.html

Note the section on using DV lists from another worksheet by naming the
list.


Gord Dibben MS Excel MVP

On Mon, 21 May 2007 14:11:14 -0700, "Bruce"
wrote:

I am creating an invoice. The data is to be pulled from a worksheet
called
"DATA".
There is one row for each item. There may be several items per invoice.
Each
are keyed with the "InvoiceNum" columnBA
On my invoice, I have named fields that represent each item on a row.
But
I
am not sure how to get the other items that are tied to the same invoice
number. There are only 2 cells that are needed and these are item and
rate
(columns AU and AV)

Any ideas on how to do this?

I am using the example I D/L from
http://j-walk.com/ss/excel/tips/tip92.htm
as my base.

Thanks
Bruce






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Filling a few cells based on the info from another worksheet.

Would that not be VLOOKUP used in accordance with HLOOKUP then?


On Tue, 22 May 2007 07:58:26 -0700, "Bruce"
wrote:

Gord,

I am sorry if I am not quite understanding how this would help. I am fairly
familiar with vlookup(). This would give me one of several choices. What I
am wanting is to fill several rows(on WS forms) with ALL of the records that
matches the invoice number (from WS data).


Thanks
Bruce


"Gord Dibben" <gorddibbATshawDOTca wrote in message
.. .
See Debra Dalgleish's site for more on VLOOKUP and Data
Validation lists for entering the choices.

http://www.contextures.on.ca/xlFunctions02.html

http://www.contextures.on.ca/xlDataVal01.html

Note the section on using DV lists from another worksheet by naming the
list.


Gord Dibben MS Excel MVP

On Mon, 21 May 2007 14:11:14 -0700, "Bruce"
wrote:

I am creating an invoice. The data is to be pulled from a worksheet called
"DATA".
There is one row for each item. There may be several items per invoice.
Each
are keyed with the "InvoiceNum" columnBA
On my invoice, I have named fields that represent each item on a row. But
I
am not sure how to get the other items that are tied to the same invoice
number. There are only 2 cells that are needed and these are item and rate
(columns AU and AV)

Any ideas on how to do this?

I am using the example I D/L from
http://j-walk.com/ss/excel/tips/tip92.htm
as my base.

Thanks
Bruce


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
varying validation info based on preceding info georgejl Excel Discussion (Misc queries) 1 November 9th 06 10:31 PM
Link info in one cell to info in several cells in another column (like a database) hansdiddy Excel Discussion (Misc queries) 1 February 22nd 06 02:27 AM
Filling out list based on other lists Chris W via OfficeKB.com Excel Discussion (Misc queries) 2 October 11th 05 11:18 PM
Automatically filling in cells based on another cell's content Ginger Excel Worksheet Functions 5 September 2nd 05 09:17 AM
Run a command based on info in other cells Chris Williams Excel Discussion (Misc queries) 0 July 27th 05 07:32 PM


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