Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
taxmom
 
Posts: n/a
Default Formula to post data in another spreadsheet

Hi,

I have been unsuccessful in trying to figure out a formula that will look at
data in one spreadsheet and post all of the items found into another
worksheet.

example: worksheet 1 contains daily transactions in separate columns:
date vendor ck# amount
1/5/05 abc printing 504 100
1/5/05 sbc telephone 505 100
1/5/05 super coups 506 300
2/7/05 abc printing 507 100
2/8/05 sbc telephone 508 300
2/30/05 abc printing 509 200

I need the abc printing worksheet to be able to pull all of the payment
data; date, ck#, & amount made to them that is listed on the daily
transaction worksheet. Even if it is not in order.

I want to eliminate doing a sort or pivot table everytime we want to look at
how much we have paid someone. I would like it to flow directly on to
another worksheet.

Can this be done?
I would appreciate any help I can get. Thanks
  #2   Report Post  
filo666
 
Posts: n/a
Default

EASY EASY EASY.... You just need to use the =vlookup() function with an if
function.
I mean:

in a cell: If([Vendor column:column number]="abc printing",vlookup([Range
starting from the first cell of vendor column until last cell of
Amount],{1,2,3}),"")

ex.

cell b2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,1,)"")
cell c2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,2,)"")
cell d2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,3,)"")

and you copy the cells b2 c2 and d2 7 times to the bottom of the page¡¡¡

"taxmom" wrote:

Hi,

I have been unsuccessful in trying to figure out a formula that will look at
data in one spreadsheet and post all of the items found into another
worksheet.

example: worksheet 1 contains daily transactions in separate columns:
date vendor ck# amount
1/5/05 abc printing 504 100
1/5/05 sbc telephone 505 100
1/5/05 super coups 506 300
2/7/05 abc printing 507 100
2/8/05 sbc telephone 508 300
2/30/05 abc printing 509 200

I need the abc printing worksheet to be able to pull all of the payment
data; date, ck#, & amount made to them that is listed on the daily
transaction worksheet. Even if it is not in order.

I want to eliminate doing a sort or pivot table everytime we want to look at
how much we have paid someone. I would like it to flow directly on to
another worksheet.

Can this be done?
I would appreciate any help I can get. Thanks

  #3   Report Post  
taxmom
 
Posts: n/a
Default

This looks good however,
I did a test and I get an error when the error comes up I select OK and the
system goes to the "" at the end. Is there something missing with the quotes?

to confirm the formula:
=IF(Sheet1!B2="ABC Printing",vlookup(Sheet1!B2:D7,1,)"")

thanks

"filo666" wrote:

EASY EASY EASY.... You just need to use the =vlookup() function with an if
function.
I mean:

in a cell: If([Vendor column:column number]="abc printing",vlookup([Range
starting from the first cell of vendor column until last cell of
Amount],{1,2,3}),"")

ex.

cell b2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,1,)"")
cell c2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,2,)"")
cell d2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,3,)"")

and you copy the cells b2 c2 and d2 7 times to the bottom of the page¡¡¡

"taxmom" wrote:

Hi,

I have been unsuccessful in trying to figure out a formula that will look at
data in one spreadsheet and post all of the items found into another
worksheet.

example: worksheet 1 contains daily transactions in separate columns:
date vendor ck# amount
1/5/05 abc printing 504 100
1/5/05 sbc telephone 505 100
1/5/05 super coups 506 300
2/7/05 abc printing 507 100
2/8/05 sbc telephone 508 300
2/30/05 abc printing 509 200

I need the abc printing worksheet to be able to pull all of the payment
data; date, ck#, & amount made to them that is listed on the daily
transaction worksheet. Even if it is not in order.

I want to eliminate doing a sort or pivot table everytime we want to look at
how much we have paid someone. I would like it to flow directly on to
another worksheet.

Can this be done?
I would appreciate any help I can get. Thanks

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If you look in help for vlookup you'll see that you need a lookup value

=vlookup(lookup_value,Table,column_index,FALSE)

--

Regards,

Peo Sjoblom


"taxmom" wrote in message
...
This looks good however,
I did a test and I get an error when the error comes up I select OK and

the
system goes to the "" at the end. Is there something missing with the

quotes?

to confirm the formula:
=IF(Sheet1!B2="ABC Printing",vlookup(Sheet1!B2:D7,1,)"")

thanks

"filo666" wrote:

EASY EASY EASY.... You just need to use the =vlookup() function with an

if
function.
I mean:

in a cell: If([Vendor column:column number]="abc

printing",vlookup([Range
starting from the first cell of vendor column until last cell of
Amount],{1,2,3}),"")

ex.

cell b2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,1,)"")
cell c2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,2,)"")
cell d2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,3,)"")

and you copy the cells b2 c2 and d2 7 times to the bottom of the page¡¡¡

"taxmom" wrote:

Hi,

I have been unsuccessful in trying to figure out a formula that will

look at
data in one spreadsheet and post all of the items found into another
worksheet.

example: worksheet 1 contains daily transactions in separate columns:
date vendor ck# amount
1/5/05 abc printing 504 100
1/5/05 sbc telephone 505 100
1/5/05 super coups 506 300
2/7/05 abc printing 507 100
2/8/05 sbc telephone 508 300
2/30/05 abc printing 509 200

I need the abc printing worksheet to be able to pull all of the

payment
data; date, ck#, & amount made to them that is listed on the daily
transaction worksheet. Even if it is not in order.

I want to eliminate doing a sort or pivot table everytime we want to

look at
how much we have paid someone. I would like it to flow directly on to
another worksheet.

Can this be done?
I would appreciate any help I can get. Thanks



  #5   Report Post  
taxmom
 
Posts: n/a
Default

I can't believe I'm having trouble with the Vlookup. I went back to the
basic and I did pull up the help and I'm trying to do the example and can't
seem to get the example to work.

Just not my day! I will keep trying. I'm sure I will get it I just need to
figure out what I'm doing wrong.

thank you both for all of your help.



"Peo Sjoblom" wrote:

If you look in help for vlookup you'll see that you need a lookup value

=vlookup(lookup_value,Table,column_index,FALSE)

--

Regards,

Peo Sjoblom


"taxmom" wrote in message
...
This looks good however,
I did a test and I get an error when the error comes up I select OK and

the
system goes to the "" at the end. Is there something missing with the

quotes?

to confirm the formula:
=IF(Sheet1!B2="ABC Printing",vlookup(Sheet1!B2:D7,1,)"")

thanks

"filo666" wrote:

EASY EASY EASY.... You just need to use the =vlookup() function with an

if
function.
I mean:

in a cell: If([Vendor column:column number]="abc

printing",vlookup([Range
starting from the first cell of vendor column until last cell of
Amount],{1,2,3}),"")

ex.

cell b2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,1,)"")
cell c2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,2,)"")
cell d2 you will put: =if(sheet1!b2="abc
printing",vlookup(sheet1!$b$2:$d$7,3,)"")

and you copy the cells b2 c2 and d2 7 times to the bottom of the page¡¡¡

"taxmom" wrote:

Hi,

I have been unsuccessful in trying to figure out a formula that will

look at
data in one spreadsheet and post all of the items found into another
worksheet.

example: worksheet 1 contains daily transactions in separate columns:
date vendor ck# amount
1/5/05 abc printing 504 100
1/5/05 sbc telephone 505 100
1/5/05 super coups 506 300
2/7/05 abc printing 507 100
2/8/05 sbc telephone 508 300
2/30/05 abc printing 509 200

I need the abc printing worksheet to be able to pull all of the

payment
data; date, ck#, & amount made to them that is listed on the daily
transaction worksheet. Even if it is not in order.

I want to eliminate doing a sort or pivot table everytime we want to

look at
how much we have paid someone. I would like it to flow directly on to
another worksheet.

Can this be done?
I would appreciate any help I can get. Thanks






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
When entering data into excel spreadsheet cell, the page just jum. jj Excel Discussion (Misc queries) 1 March 1st 05 06:05 PM
Linking formula to external spreadsheet Tunde Excel Discussion (Misc queries) 1 March 1st 05 03:05 AM
How can I paste a formula that references a chart of data brantty Excel Worksheet Functions 1 February 25th 05 07:21 PM
Need Formula to display pivot table source data Don S Excel Worksheet Functions 3 February 23rd 05 10:13 PM
Formula to Extract Data from a Table Macshots Excel Worksheet Functions 2 November 5th 04 06:35 AM


All times are GMT +1. The time now is 06:36 AM.

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"