Ana içeriğe atla

Bir hücre Excel'de belirli bir metin içeriyorsa, başka bir hücrede değer nasıl döndürülür?

Aşağıda gösterilen örnekte olduğu gibi, E6 hücresi "Evet" değerini içerdiğinde, F6 hücresi otomatik olarak "onayla" değeriyle doldurulacaktır. E6'da "Evet"i "Hayır" veya "Tarafsızlık" olarak değiştirirseniz, F6'daki değer hemen "Reddet" veya "Yeniden Düşün" olarak değiştirilir. Bunu başarmak için nasıl yapabilirsiniz? Bu makale, kolayca çözmenize yardımcı olacak bazı yararlı yöntemler toplar.


Bir hücre formül içeren belirli bir metin içeriyorsa, başka bir hücrede dönüş değeri

Bir hücre yalnızca belirli bir metin içeriyorsa, başka bir hücrede değer döndürmek için lütfen aşağıdaki formülü deneyin. Örneğin, B5 "Evet" içeriyorsa, D5'te "Onayla" döndür, aksi takdirde "Nitelikli değil" döndür. Lütfen aşağıdaki gibi yapın.

D5'i seçin ve aşağıdaki formülü içine kopyalayın ve Keşfet anahtar. Ekran görüntüsüne bakın:

formül: Hücre belirli bir metin içeriyorsa, başka bir hücrede dönüş değeri

= EĞER (ISNUMBER (SEARCH ("Evet",D5)), "Onaylamak, ""Nitelik yok")

Notlar:

1. Formülde, "Evet, " D5, "onaylamak"Ve"Nitelik yok", B5 hücresi" Evet "metnini içeriyorsa, belirtilen hücrenin" onaylama "metniyle doldurulacağını, aksi takdirde" Nitelik yok "ile doldurulacağını belirtir. Bunları ihtiyaçlarınıza göre değiştirebilirsiniz.

2. Başka hücrelerden (K8 ve K9 gibi) belirli bir hücre değerine dayalı olarak değer döndürmek için lütfen şu formülü kullanın:

= EĞER (ISNUMBER (SEARCH ("Evet",D5)),K8,K9)

Belirli bir sütundaki hücre değerine göre seçimdeki tüm satırları veya tüm satırları kolayca seçin:

The Belirli Hücreleri Seçin yarar Kutools for Excel Excel'deki belirli bir sütundaki belirli hücre değerine göre seçimdeki tüm satırları veya tüm satırları hızlı bir şekilde seçmenize yardımcı olabilir.  Kutools for Excel'in tam özellikli 60 günlük ücretsiz izini şimdi indirin!


Hücre, formüle sahip farklı metinler içeriyorsa, değerleri başka bir hücrede döndür

Bu bölüm, bir hücre Excel'de farklı metin içeriyorsa, başka bir hücrede değerleri döndürmenin formülünü gösterecektir.

1. İki sütunda ayrı ayrı bulunan belirli değerler ve dönüş değerleri ile bir tablo oluşturmanız gerekir. Ekran görüntüsüne bakın:

2. Değeri döndürmek için boş bir hücre seçin, içine aşağıdaki formülü yazın ve Keşfet sonucu almak için anahtar. Ekran görüntüsüne bakın:

formül: Bir hücre farklı metinler içeriyorsa değerleri başka bir hücrede döndür

= DÜŞEYARA (E6,B5: C7,2,YANLIŞ)

Notlar:

Formülde, E6 Hücre, değeri temel alarak döndüreceğiniz belirli değeri içeriyor mu? B5: C7 belirli değerleri ve dönüş değerlerini içeren sütun aralığıdır, 2 sayı, tablo aralığındaki ikinci sütunda bulunan dönüş değerlerinin anlamına gelir.

Şu andan itibaren, E6'daki değeri belirli bir değerle değiştirirken, karşılık gelen değeri hemen F6'da döndürülecektir.


Bir hücre farklı metinler içeriyorsa, değerleri başka bir hücrede kolayca döndürün

Aslında yukarıdaki sorunu daha kolay bir şekilde çözebilirsiniz. Listede bir değer arayın yarar Kutools for Excel formülü hatırlamadan sadece birkaç tıklama ile başarmanıza yardımcı olabilir.

1. Yukarıdaki yöntemle aynı şekilde, iki sütunda ayrı ayrı bulunan belirli değerler ve dönüş değerleri ile bir tablo oluşturmanız da gerekir.

2. Sonucun çıktısını almak için boş bir hücre seçin (burada F6'yı seçiyorum) ve ardından Kutools > Formül Yardımcısı > Formül Yardımcısı. Ekran görüntüsüne bakın:

3. içinde Formül Yardımcısı iletişim kutusu, lütfen aşağıdaki gibi yapılandırın:

  • 3.1 içinde Bir formül seçin kutusu bul ve seç Listede bir değer arayın;
    İpuçları: Kontrol edebilirsiniz filtre kutusunda, formülü hızla filtrelemek için metin kutusuna belirli bir kelimeyi girin.
  • 3.2 içinde Masa dizisi kutusunda, 1. adımda oluşturduğunuz başlıkların olmadığı tabloyu seçin;
  • 3.2 içinde aranan_değer kutusunda, hücreye dayalı olarak değer döndüreceğiniz belirli değeri içerir;
  • 3.3 içinde Sütun kutusunda eşleşen değeri döndüreceğiniz sütunu belirtin. Veya sütun numarasını ihtiyaç duyduğunuzda doğrudan metin kutusuna girebilirsiniz.
  • 3.4 OK buton. Ekran görüntüsüne bakın:

Şu andan itibaren, E6'daki değeri belirli bir değerle değiştirirken, karşılık gelen değeri hemen F6'da döndürülecektir. Aşağıdaki gibi sonucu görün:

  Bu yardımcı programın ücretsiz denemesine (30 günlük) sahip olmak istiyorsanız, indirmek için lütfen tıklayınızve ardından yukarıdaki adımlara göre işlemi uygulamaya gidin.


Excel için Kutools - Her Zaman Zamanının Ötesinde Çalışmanızı Bitirmenize, Hayatın Keyfini Çıkarmak için Daha Fazla Zamana Sahip Olmanıza Yardımcı
Kendinizi sık sık işe yetişirken, kendinize ve ailenize harcayacak zamanın olmadığını mı buluyorsunuz?  Kutools for Excel başa çıkmanıza yardımcı olabilir %80 Excel bulmacaları ve iş verimliliğini %80 artırın, size ailenizle ilgilenmek ve hayatın tadını çıkarmak için daha fazla zaman verin.
300 çalışma senaryosu için 1500 gelişmiş araç, işinizi her zamankinden çok daha kolay hale getirir.
Artık formülleri ve VBA kodlarını ezberlemenize gerek yok, bundan sonra beyninizi dinlendirin.
Karmaşık ve tekrarlanan işlemler, saniyeler içinde tek seferlik bir işlem yapılabilir.
Her gün binlerce klavye ve fare işlemini azaltın, meslek hastalıklarına şimdi veda edin.
3 dakika içinde Excel uzmanı olun, hızlı bir şekilde tanınmanıza ve maaş zammı promosyonuna yardımcı olun.
110,000 son derece etkili insan ve 300'den fazla dünyaca ünlü şirketin seçimi.
39.0 $ 'lık değeri 4000.0 $' dan fazla olan başkalarının eğitimini yapın.
30 günlük tam özellikli ücretsiz deneme. Sebepsiz 60 Günlük Para İade Garantisi.

Comments (98)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
What would I need to add to this formula (Method A) to get a third BLANK option? And where would it go?
Example:
If the cell I'm searching is blank, I would like it to return no value in the other cell. I do not want the "if false" value to populate.
This comment was minimized by the moderator on the site
i want a cell to automatically choose a number based on the drop-down option in the cell before, e.g drop-down, half meal, full meal, if I select half meal drop-down, the next cell should show 50% while the full meal drop-down will reflect 100%. please help
This comment was minimized by the moderator on the site
Hi Josh,
In the cell where you want to output the percentage, enter the following formula and press the Enter key. Hope I can help.
=IF(C15="half meal", "50%", IF(C15="full meal", "100%", ""))
This comment was minimized by the moderator on the site
Is it possible to return a certain value in 1 column based on another?


What I currently have: On a differnt tab (same worksheet):
Column A Column B
Location Name Dept Location Name Location Code
Miami 4455 Miami 123


What I want to happen:
Location Name Dept
Miami 11234455

In Coumn B, I want it to first add a 1, then take what is in Column A, see what is the Location Code on then different tab, insert that location code, and add that to the front of the current data in Column B.

1 + 123 + 4455
This comment was minimized by the moderator on the site
Hi Jen Rader,
You can apply the following formula to get it done.
=IFERROR(1&VLOOKUP(A9,Sheet2!$A$2:$B$5,2, 0)&VLOOKUP(Sheet1!A9,Sheet1!$A$2:$B$5,2, 0),"")
In this formula,
1. A9 is the cell contains the value you want to return values based on;
2. Sheet2 is the tab name contains the "Location Code"; If the tab name contains space, please enclose the tab name in single quotes, such as 'tab name'.
3. Sheet1 is the tab name contains the "Dept";
4. $A$2:$B$5 is the range containing the table data (include both search values and return values ).
See screenshots below:
https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/return1.png
https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/return2.png
This comment was minimized by the moderator on the site
OMG Crystal! You are amazing! Show me your ways! Thank you so much - it worked exactly like I was hoping!
This comment was minimized by the moderator on the site
I am trying to find out the formula to copy the number shown in B2 on cell D2 if the Cell C2 has a letter "S". Can anyone help me?
This comment was minimized by the moderator on the site
Hi Aurora,
Please enter the following formula in cell D2.
=IF(ISNUMBER(SEARCH("S",C2)),B2,"No qualify")
This comment was minimized by the moderator on the site
Bonjour à tous, j'ai un tableau Excel et j'aimerais réaliser via une macro l'opération suivante: si une cellule contient une date, me renvoyer une valeur dans une autre cellule. Pourriez vous m'aider s'il vous plait? Je vous remercie par avance
This comment was minimized by the moderator on the site
STALLS D 25 Palais - Stalls SR
STALLS M 19 Palais - Stalls SR
LOUNGE E 22 Palais - Lounge SR
LOUNGE G 23 Palais - Lounge SL
ORCH K 40 Palais - Orchestra SR
For each line in a spreadsheet I need to evaluate against a table like above and find the value that matches all of the first 3 values.
Normally I would use sumifs for this type of problem but the answer is a text string so it returns 0
This comment was minimized by the moderator on the site
I need a formula that makes column N equal the text “OTO” if column K equals MCS TRAINING how do I do that???
This comment was minimized by the moderator on the site
Hi Abby,Please apply the following formula in the cells of column N:=IF(ISNUMBER(MATCH("MCS TRAINING",K1)),"OTO","NULL")
This comment was minimized by the moderator on the site
Hi - This is my formula that I am working with.  Currently it works, but where B21 is being returned, the value of B21 is a link to another place altogether.  I want to keep the display text but would like to include the link as well.  Can this be done?  =IF(ISNUMBER(SEARCH("DATA_MAPPING",general_report!AJ21)),general_report!B21,"")
This comment was minimized by the moderator on the site
Is it possible to split the return value to a different tab? IE: columns B and C are located on one tab, and values in columns E and F are located on a different tab?
This comment was minimized by the moderator on the site
Hi

Is it possible to populate another cell, not the cell with the formula.

Example
A1 Yes
A2 3
A3 Formula searches A1, Grabs value at A2 and if Yes Paste it in A4
A4 3 
This comment was minimized by the moderator on the site
Hi,
Sorry can't help you with the problem. I suggest you post the problem to the forum below to get help from other Excel enthusiasts.
https://www.extendoffice.com/forum/kutools-for-excel.html 
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