kshitij_dch
Active Member
- Joined
- Apr 1, 2012
- Messages
- 362
- Office Version
- 365
- 2016
- 2007
- Platform
- Windows
Hello All,
I am working on an excel sheet wherein i have Column AG named 'Final Status' , Column AH which is 'Report' , Column AI which is 'Approved' and Column AJ which is 'Pending'
Column AG is blank , Column AH , AI and AJ have some data (Text and Numbers), I need a macro or if we can set a formula like if condition is met then i need certain text to be written in column AG.(Conditions are many)
For an Example:
1.) in Column AH , IF cell contains Id's Starting with IN12345 then against that ID cell in Column AG will be written as "Disbursed"
<tbody>
</tbody>
2.)In Column AI , IF cell contains Today's Date (Current date) then against that date all cells in column AG will be written as "Approved Today"
<tbody>
</tbody>
3.)In column AI , Apart from Today's Date , all the other dates , against dates cells in column AG will be "Approved but not Disbursed"
<tbody>
</tbody>
Like this i have many conditions , If somebody can help me with a vba code it would be great as i have tried by recording filtering it is not happening .
I am working on an excel sheet wherein i have Column AG named 'Final Status' , Column AH which is 'Report' , Column AI which is 'Approved' and Column AJ which is 'Pending'
Column AG is blank , Column AH , AI and AJ have some data (Text and Numbers), I need a macro or if we can set a formula like if condition is met then i need certain text to be written in column AG.(Conditions are many)
For an Example:
1.) in Column AH , IF cell contains Id's Starting with IN12345 then against that ID cell in Column AG will be written as "Disbursed"
AG | AH | AI | AJ |
Disbursed | IN12345 | ||
Disbursed | IN98786 |
<tbody>
</tbody>
2.)In Column AI , IF cell contains Today's Date (Current date) then against that date all cells in column AG will be written as "Approved Today"
AG | AH | AI | AJ |
Approved Today | #N/A | 8/25/2017 | |
Approved Today | #N/A | 8/25/2017 |
<tbody>
</tbody>
3.)In column AI , Apart from Today's Date , all the other dates , against dates cells in column AG will be "Approved but not Disbursed"
AG | AH | AI | AJ |
Approved But not Disbursed | 12/25/2016 | ||
Approved But not Disbursed | 10/25/2015 |
<tbody>
</tbody>
Like this i have many conditions , If somebody can help me with a vba code it would be great as i have tried by recording filtering it is not happening .