+ Reply to Thread
Results 1 to 8 of 8

NOOB- trying to use the result of an IF function inside another formula.

  1. #1
    Registered User
    Join Date
    12-06-2019
    Location
    Manchester,England
    MS-Off Ver
    office 365
    Posts
    5

    NOOB- trying to use the result of an IF function inside another formula.

    Hello and good morning,

    Im not brand new to this but it has been a looonngggg time since ive needed the use of excel.

    I have the formula =IF(B4="Scotchweld EC9323BA","70",IF(B4="EA9396BA","75",IF(B4="",""))) this formula works perfectly to give me the outcome for cell I4.

    However, im trying to use the result whether its 70 or 75 as part of another equation.

    e.g

    =IF(K4>=I4,"PASS","FAIL")

    the formula doesn't work, probably 1. because its incorrect and 2. because excel is seeing I4 as an equation and not a number....??? and is returning the result FALSE everytime

    is there another way I can go about this? or am I on the right track, just need some alterations?
    thanks for any help in advance.

    RYNO

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: NOOB- trying to use the result of an IF function inside another formula.

    Remove the "" from around the numbers in the formula. They convert them to text.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    12-06-2019
    Location
    Manchester,England
    MS-Off Ver
    office 365
    Posts
    5

    Re: NOOB- trying to use the result of an IF function inside another formula.

    Thanks for the quick reply, I've shortened the original formula down to make it more simple and removed the "" to ensure the number are not converted to text.

    =IF(B10="Scotchweld EC9323BA",70,75)

    this work and bring the result I want for the first part but the second part is still not working, it comes back with the result #NAME?

    Any thoughts?

    thanks

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: NOOB- trying to use the result of an IF function inside another formula.

    Whats in K4 and I4?

  5. #5
    Registered User
    Join Date
    12-06-2019
    Location
    Manchester,England
    MS-Off Ver
    office 365
    Posts
    5

    Re: NOOB- trying to use the result of an IF function inside another formula.

    sorry ive confused it a bit because ive used a different cell.


    in I4 the formula is =IF(B4="Scotchweld EC9323BA",70,75)

    I then have a number I type from a result I take into cell J4 lets say 69.

    so I have then in K4 used the formula =IF(J4<=I4,PASS,FAIL)

    so with that I was expecting k4 to have the answer FAIL...…

    not sue what im doing wrong because its coming out with #NAME?

    thanks

  6. #6
    Registered User
    Join Date
    12-06-2019
    Location
    Manchester,England
    MS-Off Ver
    office 365
    Posts
    5

    Re: NOOB- trying to use the result of an IF function inside another formula.

    it should be >= not<=

  7. #7
    Registered User
    Join Date
    12-06-2019
    Location
    Manchester,England
    MS-Off Ver
    office 365
    Posts
    5

    Re: NOOB- trying to use the result of an IF function inside another formula.

    Hi, I've done it. I used the formula bar instead =IF(J10>=I10,"pass","fail")
    I must have been typing something wrong.
    thankyou for your help and quick reply.

    regards RYNO

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: NOOB- trying to use the result of an IF function inside another formula.

    Duhh. Having a bad day. Put quotes round pass and round fail.

+ 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. INDIRECT/ADDRESS inside LINEST function versus inside INTERCEPT
    By slny06 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2019, 08:51 AM
  2. How can I use a formula result inside a text string using IF?
    By trstew in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-21-2017, 12:23 PM
  3. use of array formula inside function
    By maxtrick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2016, 03:42 PM
  4. Replies: 0
    Last Post: 01-19-2013, 01:35 PM
  5. [SOLVED] How to do an If function that does a sum inside it (or a formula that works!)
    By lembkin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-29-2012, 07:57 AM
  6. [SOLVED] Datedif formula inside an IF function
    By Mr.WalterJones in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2012, 10:42 AM
  7. Problems with using a formula inside a countif function
    By flex in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-11-2008, 04:14 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