Take the data from one sheet divide the value by 100 and paste it in another sheet against same value in Columns A

Hi ,
I have 2 sheets which have one value in common i.e. plant value
We have to check if plant values are present in 2nd sheet We need to change value from 2nd column who’s name is the date i.e. 1/8/2024
We need to paste the values divided by 100 in decimal format.
We need to change the value of that column in Rate column.
I have attached the 2 files test.xlsx and Rate.xlsx.
Test.xlsx is the master sheet and Rate.xlsx is the sheet that needs to be changed.
Test.xlsx (8.7 KB)
Rate.xlsx (9.3 KB)
Can anyone help me with the solution?

@supermanPunch @Gokul001 @ushu @kirankumar.mahanthi1 @Palaniyappan @Sudharsan_Ka @Anil_G
Can you suggest how can we solve the issue please?

@Kunal_Jain

For better understanding can you send a sample output please

Cheers

Hi @Anil_G
Here is the sample output sheet in tab named output.
Rate.xlsx (10.3 KB)
Cheers

Hi @Anil_G
Did you find anything for these?

@Kunal_Jain

  1. Read both rate and test file into dt1 and dt2 respectively
  2. Now use a for loop on dt1.Columns and add a index variable index property in for loop
  3. Inside loop use if condition with Not index=0
  4. on else side use filter table on dt2 and filter column 0 with currentItem.ColumnName
  5. if filtereddt.Count>0 on then side use assign as below dt1.Rows(0)(currentItem.ColumnName) = filtereddt.Rows(1)(1)

cheers

Hi @Anil_G
Can you help me with the workflow if possible.
Because I am getting a bit confused with the flow I need to add.
Thanks in advance.

@Kunal_Jain

I have made a xaml to give you idea…build on top of it

Sequence3.xaml (13.6 KB)

image

cheers

Hi @Anil_G
We have to update the value in Rate sheet Rate column as per plant numbers .
Means if the value for 1504 is 0.89 it has to be placed in the rate sheet under 1504 same if 1575 has value 0.98 it has to be placed under 1575 only.
Cheers

@Kunal_Jain

The same is happening…writing to excel is somethign that I did not add…please add those steps…logic remains same

cheers

Thanks for the solution @Anil_G

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.