#1   Report Post  
Posted to microsoft.public.excel.misc
cj21
 
Posts: n/a
Default copying trade values


I have a list of products, with corresponding trade values. e.g.

Product..Value
0123456 20
0132463 30
0148743 100
0245674 66
0237857 1000
0334626 3442
0435267 10234

I also have another list of products(which i call an "exceptions"
list), most of which are included above, however some are not. e.g

0123456
0148743
0237857
0912486

I want a formula that copies the trade value from list1 to list
2-sought of matching, so it would look like:

0123456 20
0148743 100
0237857 1000
0912486 0

Note the last product is not in list 1 so it gets a zero value.

Any formulas to do this.

Thanks for the help

Chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=512244

  #2   Report Post  
Posted to microsoft.public.excel.misc
Eric_MUC
 
Posts: n/a
Default copying trade values

Hi Chris,

this is really simple to do. ;)

Assuming your data including the header for the columns start in A1 - here's
the formula you'll have to write besides the results list (which starts in
this case at A13):

=IF(ISNA(VLOOKUP(A13,A$2:B$8,2,FALSE)),0,VLOOKUP(A 13,A$2:B$8,2,FALSE))

Make sure you use the "$" for the row in the datalist (he A$2:B$8) - this
makes it easy for you to copy this formula to any row in your results list...
;)

Did this help you?

Best wishes,
Eric


"cj21" wrote:


I have a list of products, with corresponding trade values. e.g.

Product..Value
0123456 20
0132463 30
0148743 100
0245674 66
0237857 1000
0334626 3442
0435267 10234

I also have another list of products(which i call an "exceptions"
list), most of which are included above, however some are not. e.g

0123456
0148743
0237857
0912486

I want a formula that copies the trade value from list1 to list
2-sought of matching, so it would look like:

0123456 20
0148743 100
0237857 1000
0912486 0

Note the last product is not in list 1 so it gets a zero value.

Any formulas to do this.

Thanks for the help

Chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=512244


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
Keeping a cell value constant trhoughout a list of values borikua05 Excel Worksheet Functions 2 December 3rd 05 03:03 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
I Need a formula to evaluate a cell with + or - values Bob in Oklahoma Excel Worksheet Functions 6 October 31st 05 02:41 PM
Return Range of Numerical Values in Single Column based on Frequency Percentage Sam via OfficeKB.com Excel Worksheet Functions 9 October 28th 05 11:01 PM
View of x-axis values AhmtDY Charts and Charting in Excel 2 October 18th 05 06:18 PM


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