+ Reply to Thread
Results 1 to 7 of 7

Custome formula

  1. #1
    Forum Contributor
    Join Date
    12-08-2012
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    190

    Custome formula

    ok I have a formula that's causing issues

    =IF(F210<=9800, "WASTE RAID",TODAY()-OFFSET($I210,-(ROW()-ROW($I$3)),MAX(IF(NOT(ISBLANK($I210:$DZ210)),COLUMN($I210:$DZ210),0))-COLUMN($I210)))

    it seems to not want to write out a muber when the formula is ture.. if its true it gives me an #VALUE! error

    any ideas..i can post the workbook if needed please ask

  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: Custome formula

    Not sure whether you need all those approaches when it false. Better attach a sample workbook with expected output by describing the method.


    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
    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: Custome formula

    Its almost impossible to say what the error might be, without seeing the workbook that it apples to. But if the test is TRUE, it "should" return the text WASTE RAID, unless that is a named range - in which case, you need to remove the ""

    perhaps it would be easier to help you if you uploaded a sample workbook, showing what data you are working with, a few examples of what your expected outcome would be, and how you would arrive at that (remove any confidential info if necessary).
    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.
    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

  4. #4
    Forum Contributor
    Join Date
    12-08-2012
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    190

    Re: Custome formula

    Robert Raid Info.xlsm

    here is the file without the modified formula in the cells..this formula works but it is returning a #REF error..when no data is enter in the row, and I want it to tell em wait raid if the F cell is < 14200, or tell me NEEDS TO RAID if =>14200

  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: Custome formula

    The criteria in your last post (F cell is < 14200, or tell me NEEDS TO RAID if =>14200) is different to your 1st post ((F210<=9800), and the formula you have in column H (I presume thats the formula in question?) is only...
    ={TODAY()-OFFSET($I14,-(ROW()-ROW($I$3)),MAX(IF(NOT(ISBLANK($I14:$DZ14)),COLUMN($I14:$DZ14),0))-COLUMN($I14))}
    compared to post 1 of
    =IF(F210<=9800, "WASTE RAID",TODAY()-OFFSET($I210,-(ROW()-ROW($I$3)),MAX(IF(NOT(ISBLANK($I210:$DZ210)),COLUMN($I210:$DZ210),0))-COLUMN($I210)))

    please clarify your request?

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

    Re: Custome formula

    In H4 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it down...

  7. #7
    Forum Contributor
    Join Date
    12-08-2012
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    190

    Re: Custome formula

    thx sixth that works great

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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