balkishan
(Balkishan Singh)
August 22, 2019, 6:31am
1
Hi, I am reading data from the first cell.
This is my Test file
And compare the data of A2 with B2. If match/unmatched wants to write the status into another excel. Matched/Not Matched
see this is the second excel where write the status in A2
How I am writing
It shows the something wrong in the formula. can you correct me.
@HareeshMR @Palaniyappan @Shubham_Varshney
2 Likes
inp
(impal)
August 22, 2019, 6:33am
2
@balkishan In write cell use double quotes for formula
2 Likes
The formula needs to add " in start and end and as well before any " add a quote " in start
So example:
“=If(A2=B2,”“Match”“,”“No Match”“)”
1 Like
balkishan
(Balkishan Singh)
August 22, 2019, 6:43am
5
It executed but not written any status in A2.
It written the formula here not the Match/ No Match status.
1 Like
balkishan
(Balkishan Singh)
August 22, 2019, 7:10am
7
@Lahiru.Fernando @HareeshMR please see this issue…
1 Like
HareeshMR
(Hareesh Madasi)
August 22, 2019, 7:13am
8
Simply assign the formula to a variable of type string and give it in the write cell activity bro @balkishan ,
That will work
2 Likes
balkishan
(Balkishan Singh)
August 22, 2019, 7:15am
9
didn’t worked bro. It write the formula in the cell
1 Like
HareeshMR
(Hareesh Madasi)
August 22, 2019, 7:16am
10
Try to write that formula in another cell except A2 and B2 bro
2 Likes
balkishan
(Balkishan Singh)
August 22, 2019, 7:18am
11
I want write the Match/ No Match status in the cell bro. once it compare the cell values.
1 Like
HareeshMR
(Hareesh Madasi)
August 22, 2019, 7:21am
12
You mean comparing two excels and write the status in third excel right or in the same excel? @balkishan
2 Likes
balkishan
(Balkishan Singh)
August 22, 2019, 7:23am
14
Yes, I am reading the data from two excel and comparing it and write the status in another excel.
1 Like
inp
(impal)
August 22, 2019, 7:24am
15
@balkishan You are reading excel from Test.xlsx and Comparing with TestWritten.xlsx so you are getting empty.
2 Likes
HareeshMR
(Hareesh Madasi)
August 22, 2019, 7:26am
16
So, try the formula manually once @balkishan , Then assign it to a variable and then run the process. It will work for sure … If you want to test the above formula, try to write in C or D columns so that it will display the output
2 Likes
Bro simply do update write cell on C column, copy the column in end and paste is in other excel!!!
1 Like
balkishan
(Balkishan Singh)
August 22, 2019, 7:29am
18
see, Here I have a Test1 and Test2 files where I am reading the data.
and write into Status file.
I am comparing the each cell value.
@Shubham_Varshney @HareeshMR
1 Like
HareeshMR
(Hareesh Madasi)
August 22, 2019, 7:32am
19
This will be the formula in your case @balkishan
Try assigning this to a variable and pass it to write cell
=IF([Test1.xlsx]Sheet1!$A$2=[Test2.xlsx]Sheet1!$A$2,“Matched”,“NotMatched”)
2 Likes
balkishan
(Balkishan Singh)
August 22, 2019, 7:32am
20
manually it’s working bro
1 Like
amaresan
(Amaran)
August 22, 2019, 7:32am
21
@balkishan
If file is not opened…
Then you have to mention Excel File path before formula…
2 Likes
HareeshMR
(Hareesh Madasi)
August 22, 2019, 7:33am
22
Use same formula in the workflow also @balkishan
2 Likes