Click here to Skip to main content
15,905,913 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,

I have column A in excel sheet 2 with values ( 1.1, 2.1,3.1,4.1 etc)
i need to display column A in excel sheet 1 with valus 1.1,1.2, 2.1,2.2, etc)
sheet 2 sheet1
  1.1 =  1.1
         1.2

  2.1 =  2.1
         2.2
  3.1 =  3.1
         3.2


c# code would be useful

What I have tried:

I have tried using array list but could not list ,
Posted
Updated 19-May-20 8:08am
v2
Comments
Richard MacCutchan 19-May-20 10:26am    
"I have tried using array list but could not list ,"
Sorry, that tells us nothing. You need to show the code you have tried, and explain what results you see. Please use the Improve question link above, and update the details.
ZurdoDev 19-May-20 12:12pm    
Am I misunderstanding? All you want is for one sheet to match or equal another sheet?

Just put the formula = and then click the other cell. There's no need for code. And if you need code, just record a macro doing what you want it to do and you'll see the code.

use excel formula like:
=Sheet2!A1

However, the question need to be modified and should be provided with attempted code.
 
Share this answer
 
Comments
Maciej Los 19-May-20 14:11pm    
If i understand OP well, he/she want to lookup for existing value in another sheet. See my answer.
Eyssan 20-May-20 4:47am    
May be. The question is not clear.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900