Letters change creatria

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
884
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team,

I have letters in rows 7 to 10 and I need to convert all the letters from Row 2 to Row 5 in (Row 7 to 10) and remove all unwanted letters

book2
CDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1LinkedIn : Total - Q2 FY2022LinkedIn : Total - Q3 FY2022LinkedIn : Total - Q4 FY2022Indeed : Total - Q2 FY2022Indeed : Total - Q3 FY2022Indeed : Total - Q4 FY2022Facebook : Total - Q2 FY2022Facebook : Total - Q3 FY2022Facebook : Total - Q4 FY2022LinkedIn : Infreqent members - Q2 FY2022LinkedIn : Infreqent members - Q3 FY2022LinkedIn : Infreqent members - Q4 FY2022LinkedIn : Frequent members - Q2 FY2022LinkedIn : Frequent members - Q3 FY2022LinkedIn : Frequent members - Q4 FY2022LinkedIn : Budding careerist - Q2 FY2022LinkedIn : Budding careerist - Q3 FY2022LinkedIn : Budding careerist - Q4 FY2022LinkedIn : Balancing idealist - Q2 FY2022LinkedIn : Balancing idealist - Q3 FY2022LinkedIn : Balancing idealist - Q4 FY2022
2ABCDEFGHIMNOJKLPQRSTU
334567891011151617121314181920212223
4
5ABCABCABCABCABCABCABC
6
7Career Related30% BEGHI29% GHI31% BDEGHI30% GHI29% GHI30% BEGHI4%5% GI4%36%36%37%38% N40% MNO45% JKMNO14%26% P29% P-43% PQR48% PQRT
8Professional Networking38% BDEFGHI36% DEFGHI37% BDEFGHI9%10%10%12% DEFI13% DEFI12% DEF43%43%45% KN43%42%46% JKMN17%30% P31% P-53% PQR58% PQRT
9Job Search26% BGHI25% GHI26% BGHI46% ABCGHI46% ABCGHI49% ABCDEGHI6% I6% I5%31%30%32%38% MNO40% MNO42% JMNO11%27% P29% P-36% PQR40% PQR
10Professional Info15% DEFGHI15% DEFGHI15% DEFGHI7%7%8% DE11% DEFI11% DEFI10% DEF19%19%19%25% MNO27% MNO28% JMNO7%15% P15% P-26% PQR25% PQR
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I4Cell Valuecontains "F"textNO
J4Cell Valuecontains "E"textNO
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
.. so your results would look like ... what?


Hi Peter,

Thank you for looking into it.
Below is my output :)

30 B2931 B302930 B45 AC4363637384045 AB
38 B3637 B9101012 C13 C12434345 B434246 AB
26 B2526 B464649 AB6 C6 C5313032384042 A
151515778 AB11 C11 C10191919252728 A
 
Upvote 0
Thanks for the results. I thought that would clarify your requirement, but I'm afraid that I still cannot see the logic. Could you explain in words how you got the results for this section?

sksanjeev786.xlsm
HIJ
1Indeed : Total - Q2 FY2022Indeed : Total - Q3 FY2022Indeed : Total - Q4 FY2022
2DEF
3678
4
5ABC
6
730% GHI29% GHI30% BEGHI
89%10%10%
946% ABCGHI46% ABCGHI49% ABCDEGHI
107%7%8% DE
Sheet1


sksanjeev786.xlsm
HIJ
7302930 B
891010
9464649 AB
10778 AB
Sheet2
 
Upvote 0
Thanks for the results. I thought that would clarify your requirement, but I'm afraid that I still cannot see the logic. Could you explain in words how you got the results for this section?

sksanjeev786.xlsm
HIJ
1Indeed : Total - Q2 FY2022Indeed : Total - Q3 FY2022Indeed : Total - Q4 FY2022
2DEF
3678
4
5ABC
6
730% GHI29% GHI30% BEGHI
89%10%10%
946% ABCGHI46% ABCGHI49% ABCDEGHI
107%7%8% DE
Sheet1


sksanjeev786.xlsm
HIJ
7302930 B
891010
9464649 AB
10778 AB
Sheet2
Hi Peter,

Currently row no 2 and row no 7-10 letters are the same so I need to replace the letter based on Row num 4

so i.e D, E,F I need convert with ABC (D will replace with A , E with B and F with C ) and rest letters need to remove

Let us know if you need more info..

Regards,
Sanjeev
 
Upvote 0
so I need to replace the letter based on Row num 4
I assume that you mean row 5 since row 4 is empty?

I am not sure whether I will have a suggestion or not, but I have more questions anyway:
  1. Do you want the results to over-write the values in rows 7:10 or do you want the results in some new rows (eg say rows 17:20?

  2. For each block of columns (eg columns D:F)
    • are the letters in row 2 always in alphabetical order like your samples?
    • are the letters in row 5 always in alphabetical order like your samples?
    • are the letters in rows 7:10 always in alphabetical order like your samples?
 
Upvote 0
I assume that you mean row 5 since row 4 is empty?

I am not sure whether I will have a suggestion or not, but I have more questions anyway:
  1. Do you want the results to over-write the values in rows 7:10 or do you want the results in some new rows (eg say rows 17:20?

  2. For each block of columns (eg columns D:F)
    • are the letters in row 2 always in alphabetical order like your samples?
    • are the letters in row 5 always in alphabetical order like your samples?
    • are the letters in rows 7:10 always in alphabetical order like your samples?

Hi Peter,

Yes, I need the output in row 17:20 sorry for the inconvenience:)
And for 2nd points: row 2 will have a different letter for the following column and 5 will have same ABC
and 7:10 will have the same formate mentioned in the table

Thank you so much for your help on this:)

Regards,
Sanjeev
 
Upvote 0
And for 2nd points: row 2 will have a different letter for the following column and 5 will have same ABC
and 7:10 will have the same formate mentioned in the table
Perhaps my questions were not clear. What I was asking was

Can the letters in row 2 be out of order? Like this

sksanjeev786.xlsm
HIJ
2DF E
Sheet3


Same this for the replacement values in row 5. Can they be out of order like this?

sksanjeev786.xlsm
HIJ
5CAB
Sheet3


Similar in rows 7:10. Can they be out of alphabetical order like this?

sksanjeev786.xlsm
H
946% GBIAHC
Sheet3
 
Upvote 0
Perhaps my questions were not clear. What I was asking was

Can the letters in row 2 be out of order? Like this

sksanjeev786.xlsm
HIJ
2DF E
Sheet3


Same this for the replacement values in row 5. Can they be out of order like this?

sksanjeev786.xlsm
HIJ
5CAB
Sheet3


Similar in rows 7:10. Can they be out of alphabetical order like this?

sksanjeev786.xlsm
H
946% GBIAHC
Sheet3

Hi Peter,

Row no 2 can be out of order but row 4 always be in order ie. ABC and 7:10 will always be in order

Let me know if you need more infomation wtih this

Regards,
Sanjeev
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,891
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top