I have an excel dump file, there are multiple column but i need to get only 3 column from that excel for example-
Date\Time
Latest Time
Color Name
13-03-2024
09:30:00
Red
14-03-2024
10:30:00
Black
15-03-2024
11:30:00
White
16-03-2024
12:30:00
Red
17-03-2024
13:30:00
White
18-03-2024
14:30:00
Red
19-03-2024
15:30:00
Black
20-03-2024
16:30:00
pink
21-03-2024
17:30:00
White
22-03-2024
18:30:00
Red
23-03-2024
19:30:00
Black
24-03-2024
20:30:00
Blue
25-03-2024
21:30:00
White
In this color Name column there are lots of color available but my requirement is only get the last, 1st “Black” and one more things is there we need to get the top first “White” values row.
For eg:-
|15-03-2024|11:30:00|White|
|23-03-2024|19:30:00|Black|
Please help me how to get that values from an excel
Now working fine but in case in color name values “white” or “Black” is not there so it will get the error like “object reference is not set to be instance” so what to do in that situation,
I am not getting understand the condition how give this condition
If “Black” or “White” is not present in a column “color” then Bot will create a null data row instead of throwing error.
Try below syntax:-