Skip i'r prif gynnwys

Sut i newid lliw cefndir neu ffont yn seiliedig ar werth celloedd yn Excel?

Pan fyddwch chi'n delio â data enfawr yn Excel, efallai yr hoffech chi ddewis rhywfaint o werth a'u hamlygu â chefndir penodol neu liw ffont. Mae'r erthygl hon yn sôn am sut i newid cefndir neu liw ffont yn seiliedig ar werthoedd celloedd yn Excel yn gyflym.


Dull 1: Newid cefndir neu liw ffont yn seiliedig ar werth celloedd yn ddeinamig gyda Fformatio Amodol

 

Mae adroddiadau Fformatio Amodol gall nodwedd eich helpu i dynnu sylw at y gwerthoedd sy'n fwy na x, llai nag y, neu rhwng x ac y.

Gan dybio bod gennych chi ystod o ddata, a nawr bod angen i chi liwio'r gwerthoedd rhwng 80 a 100, gwnewch y camau canlynol:

1. Dewiswch yr ystod o gelloedd rydych chi am dynnu sylw at rai celloedd, ac yna cliciwch Hafan > Fformatio Amodol > Rheol Newydd, gweler y screenshot:

uchafbwynt doc yn ôl gwerth 1

2. Yn y Rheol Fformatio Newydd blwch deialog, dewiswch y Fformatiwch gelloedd yn unig sy'n cynnwys eitem yn y Dewiswch Math o Reol blwch, ac yn y Fformat Celloedd yn Unig gyda adran, nodwch yr amodau sydd eu hangen arnoch:

  • Yn y blwch gwympo cyntaf, dewiswch y Gwerth Cell;
  • Yn yr ail flwch gwympo, dewiswch y meini prawf:rhwng;
  • Yn y trydydd a'r pedwerydd blwch, nodwch yr amodau hidlo, fel 80, 100.

uchafbwynt doc yn ôl gwerth 2

3. Yna, cliciwch fformat botwm, yn y Celloedd Fformat blwch deialog, gosodwch y cefndir neu'r lliw ffont fel hyn:

Newidiwch y lliw cefndir yn ôl gwerth y gell: Newid lliw'r ffont yn ôl gwerth y gell
Cliciwch Llenwch tab, ac yna dewiswch un lliw cefndir rydych chi'n ei hoffi Cliciwch Ffont tab, a dewiswch y lliw ffont sydd ei angen arnoch chi.
uchafbwynt doc yn ôl gwerth 3 uchafbwynt doc yn ôl gwerth 4

4. Ar ôl dewis y cefndir neu liw'r ffont, cliciwch OK > OK i gau'r dialogau, ac yn awr, mae'r celloedd penodol sydd â gwerth rhwng 80 a 100 yn cael eu newid i'r rhai penodol y cefndir neu'r lliw ffont yn y dewis. Gweler y screenshot:

Tynnwch sylw at gelloedd penodol gyda lliw cefndir: Tynnwch sylw at gelloedd penodol gyda lliw ffont:
uchafbwynt doc yn ôl gwerth 5 uchafbwynt doc yn ôl gwerth 6

Nodyn: Y Fformatio Amodol yn nodwedd ddeinamig, bydd lliw'r gell yn cael ei newid wrth i'r data newid.


Dull 2: Newid cefndir neu liw ffont yn seiliedig ar werth celloedd yn statig gyda swyddogaeth Find

 

Weithiau, mae angen i chi gymhwyso lliw llenwi neu ffont penodol yn seiliedig ar werth y gell a gwneud i'r lliw llenwi neu ffont beidio â newid pan fydd gwerth y gell yn newid. Yn yr achos hwn, gallwch ddefnyddio'r Dod o hyd i swyddogaeth i ddod o hyd i'r holl werthoedd celloedd penodol ac yna newid cefndir neu liw ffont i'ch angen.

Er enghraifft, rydych chi am newid cefndir neu liw ffont os yw gwerth y gell yn cynnwys testun “Excel”, gwnewch fel hyn:

1. Dewiswch yr ystod ddata rydych chi am ei defnyddio, ac yna cliciwch Hafan > Dod o Hyd i a Dewis > Dod o hyd i, gweler y screenshot:

uchafbwynt doc yn ôl gwerth 7

2. Yn y Dod o hyd ac yn ei le blwch deialog, o dan y Dod o hyd i tab, nodwch y gwerth rydych chi am ei ddarganfod yn y Dewch o hyd i beth blwch testun, gweler y screenshot:

uchafbwynt doc yn ôl gwerth 8

Awgrymiadau: Os oes angen ichi ddod o hyd i'r gwerthoedd ag achos sy'n sensitif neu gyfateb â chynnwys cyfan y gell, cliciwch ar y Dewisiadau botwm i gael yr opsiynau chwilio uwch, fel "Achos Cyfatebol"A"Cydweddwch gynnwys celloedd cyfan"yn ôl yr angen.

3. Ac yna, cliciwch Dewch o Hyd i Bawb botwm, yn y blwch darganfod canlyniadau, cliciwch unrhyw un eitem, ac yna pwyswch Ctrl + A i ddewis yr holl eitemau a ddarganfuwyd, gweler y screenshot:

uchafbwynt doc yn ôl gwerth 9

4. O'r diwedd, cliciwch Cau botwm i gau'r ymgom hwn. Nawr, gallwch chi lenwi cefndir neu liw ffont ar gyfer y gwerthoedd dethol hyn, gweler y screenshot:

Defnyddiwch y lliw cefndir ar gyfer y celloedd a ddewiswyd: Defnyddiwch liw'r ffont ar gyfer y celloedd a ddewiswyd:
uchafbwynt doc yn ôl gwerth 10 uchafbwynt doc yn ôl gwerth 11

Dull 3: Newid lliw cefndir neu ffont yn seiliedig ar werth celloedd yn statig gyda Kutools ar gyfer Excel

 

Kutools ar gyfer Excel'S Super Darganfod nodwedd yn cefnogi llawer o amodau ar gyfer dod o hyd i werthoedd, llinynnau testun, dyddiadau, fformwlâu, celloedd wedi'u fformatio ac ati. Ar ôl dod o hyd i'r celloedd sydd wedi'u paru a'u dewis, gallwch chi newid y cefndir neu'r lliw ffont i'r hyn rydych chi ei eisiau.

Ar ôl gosod Kutools ar gyfer Excel, gwnewch fel hyn:

1. Dewiswch yr ystod ddata rydych chi am ddod o hyd iddi, ac yna cliciwch Kutools > Super Darganfod, gweler y screenshot:

uchafbwynt doc yn ôl gwerth 12

2. Yn y Super Darganfod cwarel, gwnewch y gweithrediadau canlynol:

  • (1.) Yn gyntaf, cliciwch y Gwerthoedd eicon opsiwn;
  • (2.) Dewiswch y cwmpas darganfod o'r Yn gollwng, yn yr achos hwn, byddaf yn dewis Dewis;
  • (3.) O'r math rhestr ostwng, dewiswch y meini prawf rydych chi am eu defnyddio;
  • (4.) Yna cliciwch Dod o hyd i botwm i restru'r holl ganlyniadau cyfatebol yn y blwch rhestr;
  • (5.) O'r diwedd, cliciwch dewiswch botwm i ddewis y celloedd.

uchafbwynt doc yn ôl gwerth 13

3. Ac yna, mae'r holl gelloedd sy'n cyfateb i'r meini prawf wedi'u dewis ar unwaith, gweler y screenshot:

uchafbwynt doc yn ôl gwerth 14

4. Ac yn awr, gallwch newid y lliw cefndir neu'r lliw ffont ar gyfer y celloedd a ddewiswyd yn ôl yr angen.


Gwaith prysur ar benwythnos, Defnyddiwch Kutools ar gyfer Excel,
yn rhoi penwythnos hamddenol a llawen i chi!

Ar y penwythnos, mae'r plant yn glampio i fynd allan i chwarae, ond mae gormod o waith yn eich amgylchynu i gael amser i fynd gyda'r teulu. Yr haul, y traeth a'r môr mor bell i ffwrdd? Kutools ar gyfer Excel yn eich helpu i datrys posau Excel, arbed amser gwaith.

traeth pic
  •  Nid yw cael dyrchafiad a chynyddu cyflog yn bell;
  •  Yn cynnwys nodweddion uwch, datrys senarios cais, mae rhai nodweddion hyd yn oed yn arbed 99% o amser gwaith;
  •  Dewch yn arbenigwr Excel mewn 3 munud, a chael cydnabyddiaeth gan eich cydweithwyr neu ffrindiau;
  •  Nid oes angen chwilio atebion gan Google mwyach, ffarwelio â fformwlâu poenus a chodau VBA;
  •  Gellir cwblhau'r holl lawdriniaethau dro ar ôl tro gyda dim ond sawl clic, rhyddhewch eich dwylo blinedig;
  •  Dim ond $ 39 ond yn werth na thiwtorial Excel $ 4000 y bobl eraill;
  •  Cael eich dewis gan 110,000 o elites a 300+ o gwmnïau adnabyddus;
  •  Treial am ddim 30 diwrnod, ac arian llawn yn ôl o fewn 60 diwrnod heb unrhyw reswm;
  •  Newidiwch y ffordd rydych chi'n gweithio, ac yna newid eich ffordd o fyw!
 

Comments (79)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Good Day,

I have a schedule with different course modules that can be placed in different order ( 1 is metal, 2 is machining, 3 is refinishing, etc.) depending on course director preferences and staff availability.

What I am trying to do to wrap up the spreadsheet is color code the modules across the months based on their order in the overall course. So if Metal is first and is 35 days long, the first 35 days are background colored blue, but if machining is first and is 20 days long, then the first 20 days are purple.

How can you do and if statement that refers to a separate cell for the initial number of days, AND color the cells based on the range between 1 and 20 or 35 or whatever?

Can I do a conditional formatting If statement with a range between numbers?

This would have to be applied to all the modules (therefor multiple conditional formatting formulas) to account for any module being in any place in the order.
That is the issue I have. Please offer any suggestions. Note that I have built the spreadsheet without VBA. (I've never had the opportunity to learn it)
This comment was minimized by the moderator on the site
Can I give colour for a row of values with respect to previous value for a whole row.
Eg

23

45

32

56

can I give red for 23 and green for 45 and again red for 32 as it is less than the previous value and green for 56 as it is more than 32.
This comment was minimized by the moderator on the site
I do get to change a cell colour according to the text or letter in fill in the cell e.g.-H=YELLOW,E=GREEN
This comment was minimized by the moderator on the site
Hello, VANESSA,
For solving your problem, please apply the Conditional Formatting feature, in the New Formatting Rule dialog box, choose the conditions as following screenshot shown:
This comment was minimized by the moderator on the site
how do i change the colour of cell depending on what is in that cell IE. Y=green N=red.

thats how i need it if it has Y riten in the cell it turns green?
This comment was minimized by the moderator on the site
Hello, Leon,
To highlight the cells based on the cell value, you should apply the Conditional Formatting feature, go to the New Formatting Rule dialog box, and then do as the following screenshot shown to highlight the cells which are Y located as green:

Do with the same way to format the cells N as red color.

Please try it, hope it can help you!
This comment was minimized by the moderator on the site
Trying to get a cell to highlight if its above a certain number, the problem is that the cell includes the number and a date. Is there a way i can get it to just look at the number? The cell will include a number+date.....1400(7/2/2018). I need the formulate just to look at the 1400 and not the date.
any ideas?
thanks
Z
This comment was minimized by the moderator on the site
Sir, I have value in cell A10, in A12. Now I entered a simple formula in A15 subtracting these (A10-A12). I want background color of result cell (A15) in green if A10 is large (means result in positive number) and background color in red if A12 is large ( result in negative number). Please provide solution
This comment was minimized by the moderator on the site
Hello,
You can select the formula cells, and then apply the Conditional Formatting > Greater than (0)-format it green, and then Less Than (0)-format it red, see screenshot:

Please try it, hope it can help you, thank you!
This comment was minimized by the moderator on the site
If I have a date in a cell, how do I make it change to orange when it is within 30 days of coming due, yellow when it is within 15 days of coming due and red when it exceeds the date (past due)
This comment was minimized by the moderator on the site
I thought this color of cells by value was going to be a real pain. It could not have been explained more easily and clearly. Thanks. It took no less than 1-2 minutes to understand what to do.
This comment was minimized by the moderator on the site
HI, I want if i change any value or number in any cell then that cell text color should get change for e.g. if number in any cell is 100 and I have to change it as 98 then that cell text 98 should change into red color. Is it possible in Excel?? Do clarify please
This comment was minimized by the moderator on the site
So I am creating a excel spreadsheet for fire department reports. What I am looking for is it to calculate the days a report is overdue, unless it has been completed: Column A Column B Column C Column D Column E Column F Incident # Incident Date Todays Date Completed Date Days Overdue Todays Date I want column B subtracting Column C to calculate in column E unless Column D is complete. I hope this makes sense. I want to use the conditional formatting to show me in colors how long a report is overdue (with the 3 color scale). I have the formula for the number of days it is overdue to have a correct value and color scale, but I want it to remain green when the report has been completed.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations