#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default SUMPRODUCT

Need to populate worksheet a col B based on the following:
if worksheet a col a = worksheet b col a, then populate worksheet a col b
from worksheet b col b.

worksheet a worksheet b
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh eff sclmtfs
sre fgh sclmbnk
fgh sre sclmhrm

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default SUMPRODUCT

Im guessing you dont want the entire column A to match between sheets?

If you DO, in cell B1 of worksheet a:

=if((worksheeta!a:a)=(worksheetb!a:a),worksheetb!b 1,"")

and drag down.

If its just on a per-cell basis:

=if(worksheeta!a1=worksheetb!a1,worksheetb!b1,"")

and drag down.

-Sean

scire wrote:
Need to populate worksheet a col B based on the following:
if worksheet a col a = worksheet b col a, then populate worksheet a col b
from worksheet b col b.

worksheet a worksheet b
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh eff sclmtfs
sre fgh sclmbnk
fgh sre sclmhrm

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default SUMPRODUCT

Both formauls did not work.
Sorry, I did not make it very clear.
Worksheet a Col a, should exist in worksheet b col a and populate
corespnding col b to worksheet a bol b ie

if worksheet a col a in found anywhere in worksheet col b, then take the
contents of worksheet b col b and copy to worksheet a col b.
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh eff sclmtfs
sre fgh sclmbnk
fgh sre sclmhrm

The results shouls be as follows:
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh sclmbnk eff sclmtfs
sre sclmhrm fgh sclmbnk
fgh sclmbnk sre sclmhrm

have the following formula and if doesnot work:
=IF((worksheeta!B3)=(Workareab!B4:B2205),C3,"")

Thanks,
Scire


"S Davis" wrote:

Im guessing you dont want the entire column A to match between sheets?

If you DO, in cell B1 of worksheet a:

=if((worksheeta!a:a)=(worksheetb!a:a),worksheetb!b 1,"")

and drag down.

If its just on a per-cell basis:

=if(worksheeta!a1=worksheetb!a1,worksheetb!b1,"")

and drag down.

-Sean

scire wrote:
Need to populate worksheet a col B based on the following:
if worksheet a col a = worksheet b col a, then populate worksheet a col b
from worksheet b col b.

worksheet a worksheet b
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh eff sclmtfs
sre fgh sclmbnk
fgh sre sclmhrm

Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default SUMPRODUCT

sounds like you are looking for VLOOKUP

http://www.contextures.com/xlFunctions02.html

"scire" wrote:

Both formauls did not work.
Sorry, I did not make it very clear.
Worksheet a Col a, should exist in worksheet b col a and populate
corespnding col b to worksheet a bol b ie

if worksheet a col a in found anywhere in worksheet col b, then take the
contents of worksheet b col b and copy to worksheet a col b.
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh eff sclmtfs
sre fgh sclmbnk
fgh sre sclmhrm

The results shouls be as follows:
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh sclmbnk eff sclmtfs
sre sclmhrm fgh sclmbnk
fgh sclmbnk sre sclmhrm

have the following formula and if doesnot work:
=IF((worksheeta!B3)=(Workareab!B4:B2205),C3,"")

Thanks,
Scire


"S Davis" wrote:

Im guessing you dont want the entire column A to match between sheets?

If you DO, in cell B1 of worksheet a:

=if((worksheeta!a:a)=(worksheetb!a:a),worksheetb!b 1,"")

and drag down.

If its just on a per-cell basis:

=if(worksheeta!a1=worksheetb!a1,worksheetb!b1,"")

and drag down.

-Sean

scire wrote:
Need to populate worksheet a col B based on the following:
if worksheet a col a = worksheet b col a, then populate worksheet a col b
from worksheet b col b.

worksheet a worksheet b
COL A COL B COL A COLB
ahj dgh sclmbnk
dgh eff sclmtfs
sre fgh sclmbnk
fgh sre sclmhrm

Thanks in advance.



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
Need help with sumproduct & dynamic ranges bill_s1416 Excel Worksheet Functions 1 March 19th 06 03:36 AM
Need help with sumproduct and dynamic ranges Bill_S Excel Worksheet Functions 2 March 19th 06 01:19 AM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 11:48 AM.

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"