Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8921105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:27:13+00:00 2026-06-15T06:27:13+00:00

I want to use the current cell value in a formula. Let’s say i

  • 0

I want to use the current cell value in a formula. Let’s say i have cell A1, and if is this cell is not blank, the do some operations, else the value should remain:

=IF(ISBLANK(A1), sg, A1)

However, this results an error: circular reference detected. How can i avoid this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:27:16+00:00Added an answer on June 15, 2026 at 6:27 am

    The formula “=IF(ISBLANK(A1), sg, A1)” follows this format =IF(test, test is true_value, test is false_value), so in your case if cell A1 is blank (ie contains the null string “”) your test result is TRUE and your formula will return (sg).

    If your formula is contained in cell A1, a “error: Circular dependency detected” will always be generated, this causes an infinite loop that cant be resolved, your testing an expression that relies on the value generated by the test. If the cell A1 references the cell containing your formula you will also get the “error: Circular dependency detected” generated. Also cell A1 cannot ever be blank and contain your formula, the situation is mutually exclusive.

    If (sg) is returned your formula assumes that (sg) is a reference to the first value contained in a named range labelled sg, if (sg) is a text string you want to appear in the formula cell if A1 is blank, then it needs to be in quotation marks ie =IF(ISBLANK(A1), “sg”, A1).

    You could put your test in your “some other operations” in a cell that is not referenced by or dependant on the value generated by your “some other operations”

    Assume cell Z50 is outside of the references and dependencies that Cell A1’s value depends on, and it contains one of your “some other operations”

    Cell Z50 formula……=IF(A1=””,””,ROUNDDOWN(A1, 1)

    Cell A1 value………….Blank or “”…………………….15.2576536…………………………106.93244

    Cell Z50 result………TRUE, output=…………..FALSE, output=15.2……………….FALSE, output=106.9

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to do it? I don't want to use this: HttpContext.Current.Server.MapPath Is there a
i want use some data from a website with web service. i have a
How can I get the current selected row for UIPicker? I want to use
Hi I use a custom MembershipProvider. I want to know the current username during
I want use this 1 for using Bar code or QR code scanner. I
I have a DataGridView with two DataGridViewComboBoxColumns. I want to use the selected item
I have created a static library with bulk of classes. I want use that
i use these following codes to get cell's value in datagridview. these codes show
I want to know the signal strength of my current cell tower on Android.
I want to use Windows current credential when using WMI to query data on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.