+ Reply to Thread
Results 1 to 14 of 14

excel omits adjacent cells fix

  1. #1
    Registered User
    Join Date
    06-29-2022
    Location
    South Australia
    MS-Off Ver
    MS Windows 365 - Version 2204
    Posts
    46

    excel omits adjacent cells fix

    How do i fix this formula from excel omits adjacent cells (note: it is on a excel table which prepopulates the formula but comes up with the error)

    Formula: =SUMIFS(D$2:D2, B$2:B2, "<>credit", B$2:B2, "<>transfer")

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-29-2022
    Location
    South Australia
    MS-Off Ver
    MS Windows 365 - Version 2204
    Posts
    46

    Re: excel omits adjacent cells fix

    I have made an excel table and add new entries each day.

    However there are a few errors with the formulas and I am not sure why they arent staying consistant to what I had it set as (it keeps changing as per the highlighted ones in red).

    Please help.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    OK - which entries do you think are incorrect? What should they be? You haven't annotated the workbook at all.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    I suspect you need one or other of these. Try them and let us know:

    =SUMPRODUCT((B$2:B2<>"credit")+(B$2:B2<>"transfer"),D$2:D2)

    or:

    =SUMPRODUCT((B$2:B2<>"credit")*(B$2:B2<>"transfer"),D$2:D2)

  6. #6
    Registered User
    Join Date
    06-29-2022
    Location
    South Australia
    MS-Off Ver
    MS Windows 365 - Version 2204
    Posts
    46

    Re: excel omits adjacent cells fix

    G26:G34 (highlighted in red) the formula chnaged automatically which isnt consistant with the formula in G2:G25. Not sure why excel chnaged it - there is a error showing saying that it is inconsistant. I can manually chnage this however, I have set it up as a table so it automatically calculates as in the future this will have many rows.

    H26:H34 - same issue as above

    All in Column I has an error displaying excel omits adjacent cells

    I do not know th efix to any of these to en sure they consistantly update with new entires of data

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    You still haven't told us WHAT the results should be where they are wrong.

    Have a look at my previous post - see if that gets you started. Until you provide expected results in the workbook, I shan't try anything else.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    he formula chnaged automatically which isnt consistant with the formula in G2:G25. Not sure why excel chnaged it
    Have you been inserting and deleting rows???

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    Ah! I think I see what's going on.

    Try this in G2:

    =SUMIF(B$2:[@Type],B2,D$2:[@Amount])

  10. #10
    Registered User
    Join Date
    06-29-2022
    Location
    South Australia
    MS-Off Ver
    MS Windows 365 - Version 2204
    Posts
    46

    Re: excel omits adjacent cells fix

    In G25 the formula is =SUMIF(B$2:B25,B25,D$2:D25) - this is correct
    In G26 the formula is =SUMIF(B$2:B35,B26,D$2:D35) - this is incorrect and not sure why it automatically chnaged to this

    In H25 the formula is =SUMIF(C$2:C25,C25,D$2:D25) - this is correct
    In H26 the formula is =SUMIF(C$2:C35,C26,D$2:D35) - this is incorrect and not sure why it automatically chnaged to this

    Data in column I is correct until row 29 where it chnages - this is incorrect and chnages because of the error in formula


    I tried what you suggested and it comes up with the same error sorry

  11. #11
    Registered User
    Join Date
    06-29-2022
    Location
    South Australia
    MS-Off Ver
    MS Windows 365 - Version 2204
    Posts
    46

    Re: excel omits adjacent cells fix

    This worked for column G thanks

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    OK - in the attached I've changed all formulae to structured table references - see if they work for you.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    06-29-2022
    Location
    South Australia
    MS-Off Ver
    MS Windows 365 - Version 2204
    Posts
    46

    Re: excel omits adjacent cells fix

    Ali, thank you so much this worked.

    I appreciate your help and thanks for the tips regarding this thread!

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,534

    Re: excel omits adjacent cells fix

    Glad to have helped.

    If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-10-2023, 10:51 AM
  2. Need formula to count cells with text but omits duplicates
    By klink1230 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-17-2022, 06:14 PM
  3. excel error "formula omits adjacent cells"
    By ML8585 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2019, 12:48 PM
  4. Formula omits adjacent cell? Help!
    By rbiankowski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2018, 07:31 PM
  5. Need help with a sum formula that omits cells
    By jdsid in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-02-2018, 01:18 PM
  6. Replies: 3
    Last Post: 07-30-2012, 11:20 AM
  7. Scatter Plot that omits blank cells?
    By dsklein85 in forum Excel General
    Replies: 1
    Last Post: 05-03-2012, 11:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1