WantToMasterExcel
New Member
- Joined
- Feb 10, 2012
- Messages
- 20
Employee ID | Fund | Property | General Expense | Expense Description | VBA Coded Needed in this Column |
JK | CPCP | CORP | March Misc Exp | JK - cell phone Bill | JK - cell phone Bill |
LT | CPCP | CORP | Property Visits | LT - taxi from airport to hotel | LT - taxi from airport to hotel |
SN | DCUI | DCUI-Fund | SN - travel agent fee | SN - booking fee | SN DCHI DCHUI-Fund SN - travel agent fee |
AN | CPCP | CORP | AN - Tours in DC | AN - airfare to Seattle | AN - airfare to Seattle |
RB | DCUI | DCUI-Fund | RB - Museum Tower visit | RB - taxi from NOBE tour to hotel | RB DCUI DCUI-Fund RB - Museum Tower visit |
OS | CPCP | CORP | OS - Meal - Self | OS - Lunch with Donna Gayles | OS - Lunch with Donna Gayles |
TR | RCS | RCS-Fund | TR - RealShare conference registration | TR - Diverse Investor Forum | TR RCS RCS-Fund TR - Real Share conference registration |
LM | DCUI | NORE | LM - data plan | LM - Personal | LM - Personal |
FW | FRCA | FRCA Corp | FW - ISC conference registration | FW - Spring Conference | FW FRCA FRCA Corp FW - ISC conference registration |
HT | TRSIL | Victor | Attending the Conference | HT - hotel in Houston | HT TRSIL Victor Attending the Conference |
DS | GALER | Tower1 | DS - Breakfast | DS - Dinner w/ VIPs | DS GALER Tower1 DS - Breakfast |
Required VBA in COLUMN "F": | |||||
If the text in Column B is CPCP and the text in column C is Corp, Then Return or copy the value from Column E to Column F | |||||
If the text in Column B is DCUI and the text in column C is NORE, Then Return or copy the value from Column E to Column F | |||||
For the REST of the Value in Columns B & C, apply CONCATENATE Function(Return the value in Column "F" = Column A "Employee ID" + Column B "Fund" + Column C "Property" + Column D "General Expense" | |||||
Also, there are hundreds of ROWS in this Sheet named "Sheet1". Therefore, I need vba to perform till the end of the Last ROW |
<tbody>
</tbody>