aravindhan_31
Well-known Member
- Joined
- Apr 11, 2006
- Messages
- 672
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Thanks for helping me so many days, I need ur help again...
I have 3 columns in my excel sheet,
Col A( Data)
Col B ( Invoice Description)
Col C( Result)
I have date and Invoice description column filled with data, I need to filter Column B> custom filter> contains > "Dup" and enter value as "Twice" in Column C.
again i customer filter> contains > " Canteen" then enter value in Column C as "Tea"
similarly i have 45 conditions and the number of rows are not fixed, I would appreciate very much if someone could help me to build a code with case function i can add all those conditions:
few Eg:
If values in Column B contains :"uncash" then in C column it should populate Credit in the respective rows
If values in Column B contains :"Dup" then in C column it should populate Twice in the respective rows
If values in Column B contains :"bug" then in C column it should populate Wow in the respective rows
If values in Column B contains :"RQ" then in C column it should populate Pay by Check in the respective rows
If values in Column B contains :"AP13" then in C column it should populate Payment in the respective rows
If values in Column B contains :"Canteen" then in C column it should populate Tea in the respective rows OF
If values in Column B contains :"RSV" then in C column it should populate Bus in the respective rows
Thanks for you help
The cross post is here: http://www.excelforum.com/excel-pro...ased-on-values-contains-in-b.html#post2216736
Arvind
I have 3 columns in my excel sheet,
Col A( Data)
Col B ( Invoice Description)
Col C( Result)
I have date and Invoice description column filled with data, I need to filter Column B> custom filter> contains > "Dup" and enter value as "Twice" in Column C.
again i customer filter> contains > " Canteen" then enter value in Column C as "Tea"
similarly i have 45 conditions and the number of rows are not fixed, I would appreciate very much if someone could help me to build a code with case function i can add all those conditions:
few Eg:
If values in Column B contains :"uncash" then in C column it should populate Credit in the respective rows
If values in Column B contains :"Dup" then in C column it should populate Twice in the respective rows
If values in Column B contains :"bug" then in C column it should populate Wow in the respective rows
If values in Column B contains :"RQ" then in C column it should populate Pay by Check in the respective rows
If values in Column B contains :"AP13" then in C column it should populate Payment in the respective rows
If values in Column B contains :"Canteen" then in C column it should populate Tea in the respective rows OF
If values in Column B contains :"RSV" then in C column it should populate Bus in the respective rows
Thanks for you help
The cross post is here: http://www.excelforum.com/excel-pro...ased-on-values-contains-in-b.html#post2216736
Arvind
Last edited: