khawarameer
Board Regular
- Joined
- Jun 2, 2009
- Messages
- 152
Dear All
I need to create a UDF to extract an output from desired cell in a five column table. Please refer below two sheets.
I want to find value of column 5 of table 1 on the basis of value in table 2.
I need a UDF which will search each Title No from table2 in Title No of table 1, once a match is found then search the valuedate of table1 in the date column of table2 starting from row number of previous search and downwards, once a match is found go to respective column five of table 1 and obtain the immediate upper cell value of column five.
I hope you guys will help soon.
Regards
I need to create a UDF to extract an output from desired cell in a five column table. Please refer below two sheets.
HTML:
table.tableizer-table {
border: 1px solid #CCC; font-family: ;
font-size: 12px;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #ccc;
}
.tableizer-table th {
background-color: #104E8B;
color: #FFF;
font-weight: bold;
Table 1
Table 2 Title #DateDebitCreditBalance Title NoValueDate5880200044600107-03-2013 10,000.0010,000.00 5880200913580125-03-20135880200044600126-04-20135,000.00 5,000.00 5880200913580129-03-20135880200044600129-04-20133,000.00 2,000.00 5880200913580109-04-20135880200913580125-02-2013 5,000.005,000.00 5880200913580111-04-20135880200913580125-03-2013 28,000.0033,000.00 5880200913580112-04-20135880200913580125-03-201330,000.00 3,000.00 5880200913580116-04-20135880200913580126-03-2013 60,000.0063,000.00 5880200913580122-04-20135880200913580127-03-201360,000.00 3,000.00 5880200913580122-04-20135880200913580127-03-2013120.00 2,880.00 5880201519110111-03-20135880200913580128-03-2013 17,000.0019,880.00 5880201519110126-03-20135880200913580128-03-2013 38,000.0057,880.00 5880202133770106-02-20135880200913580129-03-201365,000.00 -7,120.00 5880202133980102-01-20135880200913580129-03-2013 10,000.002,880.00 5880202133980106-02-20135880200913580101-04-2013 40,000.0042,880.00 5880202135020126-02-20135880200913580101-04-201330,000.00 12,880.00 5880202135020116-03-20135880200913580104-04-201310,000.00 2,880.00 5880202135020110-04-20135880200913580108-04-2013 39,690.0042,570.00 5880202138250126-12-20125880200913580108-04-201330,000.00 12,570.00 5880202138250103-01-20135880200913580108-04-2013 50,000.0062,570.00 5880202138250107-01-20135880200913580109-04-201360,000.00 2,570.00 5880202138250104-02-20135880200913580110-04-2013 20,000.0022,570.00 5880202138250120-02-20135880200913580111-04-2013 55,000.0077,570.00 5880202138250120-02-20135880200913580111-04-201365,000.00 12,570.00 5880202138250119-03-20135880200913580112-04-2013 97,000.00109,570.00 5880202138250103-04-20135880200913580112-04-201363,860.00 45,710.00 5880202138250110-04-20135880200913580112-04-2013 25,000.0070,710.00 5880202138310120-02-20135880200913580112-04-201336,000.00 34,710.00 5880202138460124-12-201258802009135801
13-04-201310,000.00 24,710.00 5880202138460126-12-2012
I want to find value of column 5 of table 1 on the basis of value in table 2.
I need a UDF which will search each Title No from table2 in Title No of table 1, once a match is found then search the valuedate of table1 in the date column of table2 starting from row number of previous search and downwards, once a match is found go to respective column five of table 1 and obtain the immediate upper cell value of column five.
I hope you guys will help soon.
Regards
Last edited: