Some notes in support in answering this question: https://excelfox.com/forum/showthrea...ata-if-matches
If column J has data in actual file.xlsx then match column B of actual file.xlsx with column A of sheet 1 of 2.xlsx and if it matches then copy the (only first row)entire row of data from sheet2 of 2.xlsx and paste it to sheet 1 of 2.xlsx in the row of the matched value in column A of sheet 1 of 2.xlsx
i have pasted the result in sheet3 of 2.xlsx but the result should be in sheet1(I have pasted the result in sheet3 only for understanding purpose)
Before:
If column J has data in actual file.xlsx then match column B of actual file.xlsx
_____ Workbook: Actual File.xlsx ( Using Excel 2007 32 bit )
Worksheet: Sheet1
Row\Col A B C D E F G H I J K 1Exchange Symbol Series/Expiry Open High Low Prev Close LTP 2NSE ASHOKLEY EQ 65 65.35 60.55 63.3 63.3 1 3NSE BANKBARODA EQ 62.1 62.95 56.15 56.65 56.65 1 4NSE BEL EQ 66.15 66.75 62.4 65.65 65.65 1 5NSE EQUITAS EQ 82 82.05 71 73.05 73.05 1 6NSE FEDERALBNK EQ 68 68.45 62.45 63.1 63.1 1 7NSE GAIL EQ 85 88.8 79.1 79.95 79.95 1 8NSE IDFCFIRSTB EQ 32.1 32.35 27.2 27.55 27.55
_.................If column J has data in actual file.xlsx then match column B of actual file.xlsx with column A of sheet 1 of 2.xlsx
_____ Workbook: 2 18May.xlsx ( Using Excel 2007 32 bit )
Worksheet: Sheet1
Row\Col A 1Stock Name 2ACC 3ADANIENT 4ADANIPORTS 5ASHOKLEY 6EQUITAS 7L&TFH 8
If column J has data in actual file.xlsx then match column B of actual file.xlsx with column A of sheet 1 of 2.xlsx and if it matches then copy the (only first row)entire row of data from sheet2 of 2.xlsx and paste it to sheet 1 of 2.xlsx
_____ Workbook: 2 18May.xlsx ( Using Excel 2007 32 bit )
Worksheet: Sheet2
Row\Col A B C D E F G H I J K L 1 1 2 3 4 5 6 7 8 9 10
_.......copy the (only first row)entire row of data from sheet2 of 2.xlsx and paste it to sheet 1 of 2.xlsx
i have pasted the result in sheet3 of 2.xlsx but the result should be in sheet1(I have pasted the result in sheet3 only for understanding purpose)
After:
_____ Workbook: 2 18May.xlsx ( Using Excel 2007 32 bit )
Worksheet: Sheet3
Row\Col A B C D E F G H I J K L M 1Stock Name data data data data data data data data data data data data 2ACC 100 108 120 128 134 151 6534 30 90 97 103 3ADANIENT 101 109 121 127 135 122 782 40 92 98 4ADANIPORTS 102 110 122 16 137 177 10 50 93 99 104 5ASHOKLEY 1 2 3 4 5 6 7 8 9 10 6EQUITAS 1 2 3 4 5 6 7 8 9 10 7AMBUJACEM 105 117 125 133 140 746 23 80 96 102 109 8
Bookmarks