pankajgrover
Board Regular
- Joined
- Oct 27, 2022
- Messages
- 157
- Office Version
- 2021
- Platform
- Windows
Hi I have data which i have to copy AH3 to AP25 to paste values to another sheet name saturday. But i want to paste these values to next available automatic dynamic empty rows in Saturday sheet because above i have already previous Saturday data. In below example in Saturday sheet , data should be paste in 6th or 7th row onwards. how to do that.. Thanks
Saturday Sheet:
Shares Trading.xlsm | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AH | AI | AJ | AK | AL | AM | AN | AP | ||||
3 | TEST | Gold | 56324.00 | S | 14/01/2023 | 1 | 56324.00 | 3650 | |||
4 | TEST | Silver | 69427.00 | S | 14/01/2023 | 1 | 69427.00 | 5480 | |||
Vishal |
Cell Formulas | ||
---|---|---|
Range | Formula | |
AI3:AI4 | AI3 | =A3 |
AJ3:AJ4 | AJ3 | =D3 |
AK3:AK4 | AK3 | =F3 |
AP3:AP4 | AP3 | =IF(OR(AK3="",AN3=""),"",(H3-O3)*B3*D3+IF(AK3="S",-K3+AO3-Q3-J3+AR3,-AO3+R3-Q3-J3+AR3)) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
AL3:AN30 | Expression | =$AK3="S" | text | NO |
AL3:AN30 | Expression | =$AK3="B" | text | NO |
AK3:AK30 | Cell Value | ="B" | text | NO |
AK3:AK30 | Cell Value | ="S" | text | NO |
Saturday Sheet:
Shares Trading.xlsm | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
3 | test | Gold | 55017 | S | 23/12/2022 | 1 | 54574.00 | -44300 | ||
4 | test | Gold | 55017 | S | 23/12/2022 | 1 | 54574.00 | -22150 | ||
5 | -66450 | |||||||||
6 | ||||||||||
7 | ||||||||||
Saturday |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H5 | H5 | =SUM(H3:H4) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
D3:D4,D8:D31,N3:N5 | Cell Value | ="B" | text | NO |
D3:D4,D8:D31,N3:N5 | Cell Value | ="S" | text | NO |