Unique Character

Sefty

Board Regular
Joined
Apr 5, 2022
Messages
68
Office Version
  1. 365
Platform
  1. Windows
Hello, i need help If I want to fill in the empty row above "PRO-P" in column "K", the result will be as highlighted in yellow.
which in this column is a combination of the contents of the Prop below it. so just combine the Prop instances on the blue highlights

because previously the column highlighted in yellow was empty.
Thank's

matrix_pembangunan_rkp (4).xlsx
ABCDEFGHIJK
2
3KP02.30.02067 - Kementerian Desa, Pembangunan Daerah Tertinggal dan Transmigrasi
4KP02.30.02010 - Kementerian Dalam Negeri
5KP02.30.02067 - Kementerian Desa, Pembangunan Daerah Tertinggal dan Transmigrasi
6010 - Kementerian Dalam Negeri
7PRO-P02.30.02.01010 - Kementerian Dalam Negeri
8PRO-P02.30.02.02010 - Kementerian Dalam Negeri
9PRO-P02.30.02.03010 - Kementerian Dalam Negeri
10PRO-P02.30.02.04010 - Kementerian Dalam Negeri
11KP02.30.03010 - Kementerian Dalam Negeri
12KP02.30.03010 - Kementerian Dalam Negeri
13010 - Kementerian Dalam Negeri 067 - Kementerian Desa, Pembangunan Daerah Tertinggal dan Transmigrasi
14PRO-P02.30.03.01010 - Kementerian Dalam Negeri
15PRO-P02.30.03.02067 - Kementerian Desa, Pembangunan Daerah Tertinggal dan Transmigrasi
16PRO-P02.30.03.03054 - Badan Pusat Statistik
17KP02.30.04054 - Badan Pusat Statistik
18054 - Badan Pusat Statistik
19PRO-P02.30.04.01054 - Badan Pusat Statistik
20PRO-P02.30.04.02054 - Badan Pusat Statistik
21PRO-P02.30.04.03054 - Badan Pusat Statistik
22PRO-P02.30.04.04054 - Badan Pusat Statistik
Sheet3
Cell Formulas
RangeFormula
B12:C12,B4:C5B4=B3
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hello!
Do you know how to use conditional formatting (apply to the range $K$2:$K$26)?
Excel Formula:
=AND(ISBLANK(($B2);$B3="PRO-P")
 
Upvote 0
LazyBug,

If I read the question carefully, it looks like they want to fill the cells with values. Conditional Formatting cannot do that. It cannot populate values, only formatting.
I think the confusion may lie in the fact that they are using the yellow highlighting to show us the cells that they want to fill in.
So I don't think they are asking how to highlight those cells yellow, but rather how to fill in those yellow highlighted cells with the values shown (I assume that they are blank to start).
 
Upvote 0
LazyBug,

If I read the question carefully, it looks like they want to fill the cells with values. Conditional Formatting cannot do that. It cannot populate values, only formatting.
I think the confusion may lie in the fact that they are using the yellow highlighting to show us the cells that they want to fill in.
So I don't think they are asking how to highlight those cells yellow, but rather how to fill in those yellow highlighted cells with the values shown (I assume that they are blank to start).
I apologize. My mistake, you're absolutely right.
(I don't understand how the K13 cell is filled in.)
 
Upvote 0
I apologize. My mistake, you're absolutely right.
(I don't understand how the K13 cell is filled in.)
Yeah, me neither. I don't understand why the "054..." value from line 16 wouldn't also be included in there, according to their description.
Not sure if that was just an oversight on their part, or there are more rules here that they did not tell us about.
 
Upvote 0
that right
I apologize. My mistake, you're absolutely right.
(I don't understand how the K13 cell is filled in.)

I want to fill cells K13, with unique characters in cells k14-k15because I have a lot of data up to 2000, can I use a macro based on column K if column B is Prop?
 
Upvote 0
that right


I want to fill cells K13, with unique characters in cells k14-k15because I have a lot of data up to 2000, can I use a macro based on column K if column B is Prop?
But B16 is also "PRO-P". So why isn't the value from K16 also included in the value you show in K13?
It seems like it should, according to the rules you have explained to us.
 
Upvote 0
for PRO-P in B7-B10 the result will be written in K6 while B14-B16 results in B13

because after PRO-P there is KP so KP is a separation/differentiator between the KP groups whose K column you want to take

The one highlighted in yellow is the desired result, which is taken from the combination of the columns highlighted in blue which are directly below it
 
Upvote 0
But B16 is also "PRO-P". So why isn't the value from K16 also included in the value you show in K13?
It seems like it should, according to the rules you have explained to us.
for PRO-P in B7-B10 the result will be written in K6 while B14-B16 results in B13

because after PRO-P there is KP so KP is a separation/differentiator between the KP groups whose K column you want to take

The one highlighted in yellow is the desired result, which is taken from the combination of the columns highlighted in blue which are directly below it
 
Upvote 0
You still have not answered the question I asked. I will try one last time, before moving on.

Why does cell K13 show:
Rich (BB code):
010 - Kementerian Dalam Negeri
067 - Kementerian Desa, Pembangunan Daerah Tertinggal dan Transmigrasi
and not:
Rich (BB code):
010 - Kementerian Dalam Negeri
067 - Kementerian Desa, Pembangunan Daerah Tertinggal dan Transmigrasi
054 - Badan Pusat Statistik
as it appears that the value in cell K16 meets your criteria, and should be included in cell K13?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

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