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

  • Home
  • SEARCH
  • 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 9188881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:07:08+00:00 2026-06-17T20:07:08+00:00

I would like to ask whether it is possible to check inconsistent formula for

  • 0

I would like to ask whether it is possible to check inconsistent formula for a specific region.

In my case, col D and col E contain different sets of formula.

I just want to ensure that all formula in col E are consistent.

Is it possible to do so??

  • 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-17T20:07:09+00:00Added an answer on June 17, 2026 at 8:07 pm

    Here is one way.

    Let’s say your worksheet looks like this

    enter image description here

    Now Paste this code in a module and run it. It will tell you which cells have inconsistent formulas. See below screenshot

    I have commented the code so that you will not have any problem understanding it. If you do simply ask 🙂

    Option Explicit
    
    Sub GetInConsCells()
        Dim ws As Worksheet
        Dim rng As Range, cl As Range, errCells As Range
        Dim ErrorCells As String
        Dim lRow As Long
    
        '~~> Create a temp copy of the sheet
        ThisWorkbook.Sheets("Sheet1").Copy After:=Sheets(ThisWorkbook.Sheets.Count)
    
        Set ws = ActiveSheet
        With ws
            '~~> Clear Col D and Col F Contents
            .Range("D:D,F:F").ClearContents
    
            '~~> Find the last row of col E
            lRow = .Range("E" & .Rows.Count).End(xlUp).Row
    
            '~~> Set your range
            Set rng = Range("E1:E" & lRow)
    
            '~~> Check if the cells have inconsistent formulas
            For Each cl In rng
                If cl.Errors(xlInconsistentFormula).Value Then
                    If errCells Is Nothing Then
                        Set errCells = cl
                    Else
                        Set errCells = Union(cl, errCells)
                    End If
                End If
            Next cl
    
            '~~> Display relevant message
            If Not errCells Is Nothing Then
                ErrorCells = errCells.Address
                MsgBox "Formulas in cells " & ErrorCells & " are inconsitent"
            Else
                MsgBox "All Formulas are consistent"
            End If
        End With
    
        '~~> Delete temp sheet
        Application.DisplayAlerts = False
        ws.Delete
        Application.DisplayAlerts = True
    End Sub
    

    enter image description here

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

Sidebar

Related Questions

I'm a nubie in mysql queries, and I would like to ask, whether if
I would like to ask whether or not is a good practice, to hold
I would like to ask you whether there exists a way to automate reverse-engineering
I would like to ask whether is feasible to send a custom UIView (no
I would like to have Emacs ask me whether I want to save a
I would like to ask - is it possible to apply my custom CSS
I would like to ask whether I can put h5_job for css? h5_job{font-size:18px;margin:18px 0;color:#f00a81;font-weight:normal}
I would like ask if there's a way to download an android layout from
What I would like ask is best illustrated by an example, so bear with
I would like to ask you: Imagine that you have a site and there

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.