+ Reply to Thread
Results 1 to 13 of 13

If 000/000 then

  1. #1
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    If 000/000 then

    Hello,

    I have some cells that have a value of 000/000 on column F. I have attached a file here. I need a formula in column H if the value in column F is 000/000, then get the value from column D. I cannot use IFERROR as I need to use IFERROR for some other purpose in the formula.

    Thanks.
    Attached Files Attached Files
    Last edited by jackson_hollon; 03-14-2020 at 04:40 AM.

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: If 000/000 then

    Even with example the issue is not clear.

  3. #3
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: If 000/000 then

    BMV,

    I modified the file. Please take a look again. Thanks.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,463

    Re: If 000/000 then

    Why not simply, =IF(F3="000/000",D3,IFERROR......

  5. #5
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: If 000/000 then

    Pepe Le Mokko,

    I tried and it doesn't work...

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: If 000/000 then

    I have similar file. Column "A" is name "B" is value
    In "C2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    "G3" is 0

    Plz ignore this.
    Attached Files Attached Files
    Last edited by avk; 03-14-2020 at 04:33 AM. Reason: Ignore


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  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. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,157

    Re: If 000/000 then

    How about this?

    =IFERROR(IFNA(IF(EOMONTH(E4,LEFT(F4,3)*12+RIGHT(F4,3)-1)<=DATE($A$1, $B$1, $C$1), 0, $D4/(LEFT($F4, 3)*12+RIGHT($F4, 3)))*(DATEDIF(DATE($A$1, $B$1, $C$1), EOMONTH(E4,LEFT(F4,3)*12+RIGHT(F4,3)-1), "M")), 0),D4
    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.

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,463

    Re: If 000/000 then

    Works perfectly for me BUT your formula in H9 was different form the rest of the range. It ended with RIGHT(F9;3)-1); "M")); D9) and the rest with RIGHT(F9;3)-1); "M")); 0)
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: If 000/000 then

    AliGW, avk, Pepe Le Mokko, BMV,

    I avk's file, it works. Thank you all for looking into this.

    Jackson.

  10. #10
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: If 000/000 then

    Pepe Le Mokko ,

    You are right. Thank for the help. I used your formula. Thanks.

  11. #11
    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. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,157

    Re: If 000/000 then

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  12. #12
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: If 000/000 then

    Maybe try at I2

    =IF(F3="000/000",D3,IF(DATE($A$1,$B$1,$C$1)<G3,DATEDIF(DATE($A$1,$B$1,$C$1),G3,"m")*D3/(LEFT($F3,3)*12+RIGHT($F3,3)),0))

  13. #13
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: If 000/000 then

    Bo_Ry,

    That works. Many thanks.

+ 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