the condition is
the column a = column b then column c is replaced with the value
if it doesnot then column d is placed in new sheet
@anjani_priya
can you please share expected input and output
so i can work on it!!
Cheers!!
Please Share the Input and output Screenshots
Hi @anjani_priya ,
Thanks for reaching out.
you can follow the below logic
But for a more detailed explanation please provide more details.
Happy Automation,
@Vinit_Kawle
sheet2.xlsx (34.0 KB)
sheet1.xlsx (38.6 KB)
there are two sheets
sheet1 sum(books needed)=sheet2 sum(actual quantity)
if it equals then sheet1 section column values should be A
if it doesnot equals then sheet2 age column should be copy paste in new column and remove duplicates
sheet2.xlsx (34.0 KB)
sheet1.xlsx (38.6 KB)
there are two sheets
sheet1 sum(books needed)=sheet2 sum(actual quantity)
if it equals then sheet1 section column values should be A
if it doesnot equals then sheet2 age column should be copy paste in new column and remove duplicates.
sheet2.xlsx (34.0 KB)
sheet1.xlsx (38.6 KB)
there are two sheets
sheet1 sum(books needed)=sheet2 sum(actual quantity)
if it equals then sheet1 section column values should be A
if it doesnot equals then sheet2 age column should be copy paste in new column and remove duplicates…
@anjani_priya
Can you elaborate your question
sheet2.xlsx (34.0 KB)
sheet1.xlsx (38.6 KB)
there are two sheets
sheet1 sum(books needed)=sheet2 sum(actual quantity)
if it equals then sheet1 section column values should be A
if it doesnot equals then sheet2 age column should be copy paste in new column and remove duplicates
the sum’s of 2 columns in 2 different excel files should be compared and if it equals then above condition if not then above second condition
books needed col sum and actual quantity sum should be equal if it is then a condition if it doesnot than a condition
the sum’s of 2 columns in 2 different excel files should be compared and if it equals then above condition if not then above second condition
Okay @anjani_priya
→ Use the read range workbook activity to read the excel and store in a datatable datatype variable, let’s call it as dt_Input.
→ After read range use the assign activity to write the below expression
- Assign -> Currentrow("name") = "xyz"
→ out of for each insert the Write range workbook activity to write the dt_Input to the same excel sheet. In the properties of Write range workbook activity check the add headers option.
Check the below workflow for better understanding,
Input -
Output -
Hope this helps!!
Thank you @anjani_priya
Happy Automation!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.




