انتقل إلى المحتوى الرئيسي

كيف تحافظ على الخلية فارغة عند تطبيق الصيغة حتى يتم إدخال البيانات في Excel؟

في Excel ، إذا قمت بتطبيق صيغة على نطاق أعمدة ، فسيتم عرض النتيجة على أنها صفر بينما تكون الخلايا المرجعية فارغة في الصيغة. لكن في هذه الحالة ، أريد أن أبقي الخلية فارغة عند تطبيق الصيغة حتى يتم إدخال الخلية المرجعية بالبيانات ، إذا كان هناك أي حيل للتعامل معها؟
المستند فارغًا حتى 1

احتفظ بالخلية فارغة حتى يتم إدخال البيانات


السهم الأزرق الحق فقاعة احتفظ بالخلية فارغة حتى يتم إدخال البيانات

في الواقع ، هناك صيغة يمكن أن تساعدك في إبقاء خلية الصيغة فارغة حتى يتم إدخال البيانات في الخلايا المرجعية.

على سبيل المثال ، هنا لحساب الفرق بين العمود Value 1 والعمود Value 2 في عمود الاختلافات ، وتريد الاحتفاظ بالخلية فارغة إذا كانت هناك بعض الخلايا الفارغة في العمود Value 1 والعمود Value2.

حدد الخلية الأولى التي تريد وضع النتيجة المحسوبة فيها ، واكتب هذه الصيغة = IF (OR (ISBLANK (A2)، ISBLANK (B2))، ""، A2-B2)، واسحب مقبض التعبئة لأسفل لتطبيق هذه الصيغة على الخلايا التي تحتاجها.
المستند فارغًا حتى 2

في الصيغة ، A2 و B2 هي الخلايا المرجعية في الصيغة التي تريد تطبيقها ، A2-B2 هي العملية الحسابية التي تريد استخدامها.


تُدرج الدفعة صفوفًا أو أعمدة فارغة في فترة زمنية محددة في نطاق Excel

إذا كنت تريد إدراج صفوف فارغة في كل صف آخر ، فقد تحتاج إلى إدراجها واحدة تلو الأخرى ، ولكن ملف أدخل صفوف وأعمدة فارغة of كوتولس ل إكسيل يمكن حل هذه المهمة في ثوان. انقر للحصول على نسخة تجريبية مجانية لمدة 30 يومًا!
doc إدراج عمود صف فارغ
Kutools for Excel: مع أكثر من 300 وظيفة إضافية مفيدة في Excel ، يمكنك تجربتها مجانًا دون قيود في أيام 30

أفضل أدوات إنتاجية المكتب

🤖 مساعد Kutools AI: إحداث ثورة في تحليل البيانات على أساس: التنفيذ الذكي   |  إنشاء التعليمات البرمجية  |  إنشاء صيغ مخصصة  |  تحليل البيانات وإنشاء الرسوم البيانية  |  استدعاء وظائف Kutools...
الميزات الشعبية: البحث عن التكرارات أو تمييزها أو تحديدها   |  حذف الصفوف الفارغة   |  دمج الأعمدة أو الخلايا دون فقدان البيانات   |   جولة بدون صيغة 
سوبر بحث: معايير متعددة VLookup    VLookup ذات القيمة المتعددة  |   VLookup عبر أوراق متعددة   |   بحث غامض ....
قائمة منسدلة متقدمة: إنشاء القائمة المنسدلة بسرعة   |  القائمة المنسدلة التابعة   |  قائمة منسدلة متعددة التحديد ....
مدير العمود: إضافة عدد محدد من الأعمدة  |  نقل الأعمدة  |  تبديل حالة رؤية الأعمدة المخفية  |  مقارنة النطاقات والأعمدة 
الميزات المميزة: التركيز على الشبكة   |  عرض تصميم   |   شريط الفورمولا الكبير    مدير المصنفات والأوراق   |  مكتبة الموارد (النص السيارات)   |  منتقي التاريخ   |  اجمع أوراق العمل   |  تشفير/فك تشفير الخلايا    إرسال رسائل البريد الإلكتروني عن طريق القائمة   |  سوبر تصفية   |   مرشح خاص (تصفية غامق / مائل / يتوسطه خط ...) ...
أفضل 15 مجموعة أدوات12 نص الأدوات (إضافة نص, إزالة الأحرف، ...)   |   +50 رسم الأنواع (مخطط جانت، ...)   |   40+ عملي الصيغ (احسب العمر على أساس تاريخ الميلاد، ...)   |   19 إدخال الأدوات (أدخل رمز الاستجابة السريعة, إدراج صورة من المسار، ...)   |   12 تحويل الأدوات (أرقام إلى كلمات, نتيجة تحويل عملة، ...)   |   7 دمج وتقسيم الأدوات (الجمع بين الصفوف المتقدمة, تقسيم الخلايا، ...)   |   ... و اكثر

عزز مهاراتك في Excel باستخدام Kutools for Excel، واختبر كفاءة لم يسبق لها مثيل. يقدم Kutools for Excel أكثر من 300 ميزة متقدمة لتعزيز الإنتاجية وتوفير الوقت.  انقر هنا للحصول على الميزة التي تحتاجها أكثر...

الوصف


يجلب Office Tab الواجهة المبوبة إلى Office ، ويجعل عملك أسهل بكثير

  • تمكين التحرير والقراءة المبوبة في Word و Excel و PowerPointوالناشر والوصول و Visio والمشروع.
  • فتح وإنشاء مستندات متعددة في علامات تبويب جديدة من نفس النافذة ، بدلاً من النوافذ الجديدة.
  • يزيد من إنتاجيتك بنسبة 50٪ ، ويقلل مئات النقرات بالماوس كل يوم!
Comments (40)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how can i return both blank cells into a blank result

b2="v"
c2=""
b3=""
c3="v"
b4=""
c4=""

if b2="v","x"
if c2="v","y"
This comment was minimized by the moderator on the site
I am in xcel and need the cell where my formula is to remain blank until the data needed in the formula cells is entered. My formula is =A1+5
This comment was minimized by the moderator on the site
so at the minute i am trying to do totals on timesheets but in the formula which i have done E8-D8-0.50 in column I8 is showing as -0.50 how can i get it blank until data is inputted in those cells
This comment was minimized by the moderator on the site
Hi, Ollie, try this formula:
=IF(OR(ISBLANK(E8),ISBLANK(D8)), "",E8-D8-0.5)
This comment was minimized by the moderator on the site
Hi, Carmen,try this formula: =IF(OR(ISBLANK(B2),ISBLANK(C2)), "",B2/C2), it will keep blank until both of column C and column B are filled data.
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-keep-cell-blank.png
This comment was minimized by the moderator on the site
Hi, thank you much appreciated but I am still getting an error.

" There's a problem with the formula

Not trying to type a formula?
When the first character is an equal ("=") or a minus ("-") sign, Excel thinks its a formula:
you type: =1+1 the cell shows 2

To get around this try to type an apostrophe first:
'=1+1 the cell shows =1+1

I copied your code and replaced the column numbers.
This comment was minimized by the moderator on the site
Hi there, I want to create an epidemiologic formula to calculate the incidence proportion, which is the number of new cases during a specified time period / the number of people at risk. So essentially, column B divided by column C. However, I am creating the document for students of mine for their exam, so they can just type in the values and get the answer. I tried the formula you provided above =IF(OR(ISBLANK(A2),ISBLANK(B2)), "", A2-B2) but I keep getting an error. Can anyone assist?

Thanks.
This comment was minimized by the moderator on the site
Olá pessoal, parabéns pelo site, tem me ajudado bastante, segue abaixo um problema que ainda não consegui resolver, são várias situações em uma formula, segue descrição do que preciso e dados para criar o ambiente para que possa validar e quem sabe me ajudar com essa função:

Objetivo: fazer com que o Excel atualize a data de vencimento do contrato, somando a quantidade de meses da vigência, caso a renovação automática esteja "SIM" e se tiver "NÂO" ele não somará, assim um contrato que foi assinado em janeiro de 2021 e já teve sua renovação automática de 12 meses aplicada deve ter a data de vencimento atualizada para janeiro de 2023, se tivermos visualizando a planilha a partir de fevereiro de 2022, como seria essa formula?
Atualmente essa célula D1 já tem a seguinte formula que deve permanecer:
=SE(OU(ÉCÉL.VAZIA(A1);ÉCÉL.VAZIA(B1));"";(DATAM(A1;B1)))
Essa formula além de somar a data de assinatura do contrato e a vigência ela só apresenta o resultado se houver informações nas células A1 e B1, se não deixa vazia

Celular Formato Conteúdo Descrição
A1 Data Abreviada 12/11/2020 Dt Assinatura contrato
B1 Geral 12 Vigência (Meses)
C1 Geral Sim ou Não Renovação Automática
D1 Data Abreviada Formula Data Termino Contrato
This comment was minimized by the moderator on the site
Hi, Andre Oliveria, if cell A1 contains date and contract name, you need this formula
=MID(A1,MIN(IFERROR(MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789",1)),LEN(A1)+1)),LOOKUP(1,0*MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1),ROW(INDIRECT("1:"&LEN(A1)))) + 1 - MIN(IFERROR(MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789",1)),LEN(A1)+1)))
to extract the date only, then use below formula
=IF(OR(ISBLANK(B1),ISBLANK(C1)),"",IF(EDATE(B1,C1)<=NOW(),EDATE(B1,C1+1), IF(LOWER(D1)="yes", EDATE(B1,C1*2+1), EDATE(B1,C1+1))))
to get the final date.
B1 is the extracted start date, C1 is the months, D1 is "yes"or"no".
This comment was minimized by the moderator on the site
Olá amigos, quero parabenizar a página pelas informações que me ajudaram e resolver um problema, porem agora preciso que um campo de data seja atualizada quando o campo renovação estiver como SIM, abaixo segue uma descrição e dados para ajudar, já tentei criar essa formula mais não consegui:

Celular Formato Conteúdo Descrição
A1 Data Abreviada 12/11/2020 Dt. Assinatura contrato
B1 Geral 12 Vigência (Meses)
C1 Geral Sim ou Não Renovação Automática
D1 Data Abreviada Formula Data Termino Contrato

Objetivo: fazer com que o Excel atualize a data de vencimento do contrato, somando a quantidade de meses da vigência, caso a renovação automática esteja "SIM" e se tiver "NÂO" ele não somará, assim um contrato que foi assinado em janeiro de 2021 e já teve sua renovação automática de 12 meses aplicada deve ter a data de vencimento atualizada para janeiro de 2023, se tivermos visualizando a planilha a partir de fevereiro de 2022, como seria essa formula?
Atualmente essa célula já tem a seguinte formula que deve permanecer:
=SE(OU(ÉCÉL.VAZIA(A1);ÉCÉL.VAZIA(B1));"";(DATAM(A1;B1)))
Essa formula além de somar a data de assinatura do contrato e a vigência ela só apresenta o resultado se houver informações nas células A1 e B1, se não deixa vazia

Se puderem me ajudar agradeço
This comment was minimized by the moderator on the site
I have created simple ss to calculated days from a set date in this case E2 with G2 = E2 +30

How do I hide the result in G2 until a date is entered into E2?

Is there a standard way of doing this in excel for multiple cells at one time?
This comment was minimized by the moderator on the site
Hi, HAMISH, take A1 is the cell used to enter date, C1 is the cell that used to add 30, now in cell C1, type the formula =IF(ISBLANK(A1), "", A1+30), then the result in C1 will be shown date + 30 if a date entered in cell A1, otherwise, it keep blank. Please see the gif attached below.
This comment was minimized by the moderator on the site
Thanks a lot!
It was absolutely helpful!
This comment was minimized by the moderator on the site
I have 2 columns one for due date another for overdue.In the overdue column i have due date cell minus Today(). I then drag that down the column. If i haven't yet put a date in the due date cell I would like to add an additonal formula that says if the due date is blank then its 0
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