+ Reply to Thread
Results 1 to 15 of 15

I have applied IF to 5 cells that work but one wont

Hybrid View

  1. #1
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    I have applied IF to 5 cells that work but one wont

    Hello everyone, my name is Kaity and I'm new to this forum.
    Just after help please, I have applied this equation to 12 cells that all work as it should.

    =IF('Cashflow Log January'!C4='Cashflow Log January'!J8,'Cashflow Log January'!G4)
    Equation that works
    I have applied the same equation to the final cells I need however it wont add them up as the other are.

    =IF('Cashflow Log January'!C4='Cashflow Log January'!J9,'Cashflow Log January'!G4)
    This is the equation that is not working.

    can anyone see the error I have made and how I can fix it?

    Thank you,
    Kaity
    Attached Images Attached Images
    Last edited by kaityc; 03-18-2019 at 01:10 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: I have applied IF to 5 cells that work but one wont

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    Re: I have applied IF to 5 cells that work but one wont

    did that work?
    There should be 2 files uploaded

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: I have applied IF to 5 cells that work but one wont

    Quote Originally Posted by kaityc View Post
    did that work?
    I don't see any files in your posts

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: I have applied IF to 5 cells that work but one wont

    Hi, welcome to the forum

    You say they wont add up, but there is nothing there that would sum anything. Your formula is simply testing 1 cell against another, and if they match, show the value from another cell

    Without seeing more detail, maybe this is what you want?

    =IF('Cashflow Log January'!$C$4='Cashflow Log January'!J9,'Cashflow Log January'!$G$4)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    Re: I have applied IF to 5 cells that work but one wont

    Sorry I dont know why it isnt allowing me to upload a file.

    Thanks, I tried that code however it still doesn't work.

    Is there a way I can email them to you?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: I have applied IF to 5 cells that work but one wont

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  8. #8
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    Re: I have applied IF to 5 cells that work but one wont

    thank you, I have now uploaded two very large photos sorry but there are now visible.
    In the first photo is an example of terry and the sums that automatically add up on the right.
    The other 2 I used the same equation but it isnt auto populating and I'm unsure as why.

    Thank you

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: I have applied IF to 5 cells that work but one wont

    Sorry to be a pain, but we would prefer to have a sample WB, not a pic. We cannot really play around with pics

    Also, please explain what you are trying to do here? You showed a formula that doesnt work, but that doesnt say what you are doing

  10. #10
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    Re: I have applied IF to 5 cells that work but one wont

    I am trying to create on spreadsheet Cash flow january - an automated add on for the drop down list. It is a cash flow distribution, so it will automatically add up person by person and then month by month so the overview page will be automatically updated.
    Hope this explains it a bit better. The working out is on sheet 1.
    Thank you
    Attached Files Attached Files
    Last edited by kaityc; 03-18-2019 at 01:23 AM.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: I have applied IF to 5 cells that work but one wont

    1st, you have a circular reference error in your sheet - that is when a formula in a cell, references the cell it resides in.
    A quick check tells me that on sheet Overview, you have
    K10=SUM(K4:K10)
    As you can see, K10 is referencing itself in that formula. It should be
    =SUM(K4:K9)
    The same is happening in at least L10

    2nd, you would be far better served if you have ALL data on 1 sheet, rather that a sheet per month. This will make all summaries much simpler.

    3rd, please show some sample data, and expected outcome, so we know what you want

  12. #12
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    Re: I have applied IF to 5 cells that work but one wont

    Thank you for checking on this it is very helpful having help like this

    I am trying to create a basic cashflow management / distribution log excel template.

    It is just a logbook of petty cash expenditures with a drop down menu and then on the overview page I would like it to give the report based on the dropdown menu and the date.
    How can I best do that?

    Thank you again, this forum is extremely helpful.

  13. #13
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,494

    Re: I have applied IF to 5 cells that work but one wont

    The values in dropdown "Other 2" and cell J9 "Other 2 " dont match.
    Can you spot the difference?

    Well it is the most annoying problem to have.. (for the human eye to find)
    In J9 the value has a space after the number 2 therefor there is no exact match for the text strings
    remove the space after "Other 2 " in J9 and it will work fine..

  14. #14
    Registered User
    Join Date
    03-18-2019
    Location
    South East Asia
    MS-Off Ver
    excel online
    Posts
    7

    Re: I have applied IF to 5 cells that work but one wont

    OH MY GOD i feel so silly! Thank you so much!!!!

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,658

    Re: I have applied IF to 5 cells that work but one wont

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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: 2
    Last Post: 01-31-2018, 08:49 AM
  2. Code wont work if the first cells are empty
    By KyleJackDaniels in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2016, 10:10 AM
  3. Replies: 2
    Last Post: 03-03-2016, 06:27 PM
  4. Why wont max work on cells that have a formula
    By leedsexcel in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-23-2007, 02:31 PM
  5. [SOLVED] Cells.Find wont work with "-"
    By alan_conoco@hotmail.co.uk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2006, 10:20 AM
  6. Why wont it work?
    By Bobby in forum Excel General
    Replies: 6
    Last Post: 12-01-2005, 08:55 PM
  7. Anyone know why this wont work?
    By Mark Stephens in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2005, 02:05 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