+ Reply to Thread
Results 1 to 10 of 10

Help with IF, AND, THEN formula

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    39

    Help with IF, AND, THEN formula

    Good Evening

    I could use some help on my attached workbook. I am having in issue with tab "spray logs" row 968 and below with getting a #value error. I am assuming I need to add another "IF" into my formula but cant seem to figure it out. If both Area/volume and Area/rate are = 1000/sqft it is not giving me a sum. Basically we applied 20 lbs per 1000/sqft the gallons mixed should say 40 lbs. We used half the bag so in gallons sprayed we inserted .5 which should sum up to 20 in the TOTAL CHEMICAL APPLIED column.


    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Help with IF, AND, THEN formula

    I haven't analyzed your formula completely, your formula is dividing by Q968 which has the word "Broadcast" in it. At first glance I thought it was O968 because you have to really look close to see it's a Q.
    Correct that and see if that helps. If not I'll check it again, or I'm sure someone else will.
    Last edited by skywriter; 03-03-2015 at 09:55 PM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help with IF, AND, THEN formula

    deleted because correct answer exist

  4. #4
    Registered User
    Join Date
    03-07-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Help with IF, AND, THEN formula

    I'm sorry but that did not work also. If you look at Row 955 I have the word DRENCH in but the AREA/VOLUME is 100g. If I change my AREA/VOLUME to in 968 I do not get the #value! anymore but the total is not correct that is why I am thinking I need to add another set of equations into my formula. Basically if 1000/sqft is in both R and O then it would need to be P divided by O.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help with IF, AND, THEN formula

    from the top you trying this: number / text

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Help with IF, AND, THEN formula

    as sandy is saying Q has text

    how do you compute:

    if they are same O and R ="1000/sqft" or "acre" values = ?
    if they are NOT the same = ?
    if O is 100/gal =?
    if O is gal =?
    use the column header as basis like rate *gallon sprayed
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  7. #7
    Registered User
    Join Date
    03-07-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Help with IF, AND, THEN formula

    I'm sorry and I hope you are not getting frustrated with me but I do not understand how Row 955 is not giving me the error as in the formula it is still dividing a number/text. I don't know why it would make a difference whether is was the word DRENCH and not BROADCAST. that is why I am assuming it is because this is the first time we have had a chemical that the AREA/VOLUME and AREA/RATE are both 1000/sqft and that was not built into the formula as being an IF statement

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help with IF, AND, THEN formula

    IF(logical_test,A,B)

    if logical_test = true , display A, pass over (don't check) B
    if logical_test = false, display B, pass over (don't check) A

  9. #9
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Help with IF, AND, THEN formula

    based on your if statement
    if they are the same acre or 1000 sqft

    M970*S970/Q970 that is
    rate * gallon sprayed divided by gallon per area
    M*S/Q
    the Q970 contains text broadcast
    say
    M= 20
    S = 2
    Q = broadcast

    =20*2/broadcast -> error since you are dividing the number with the text "broadcast"
    look post #6 and show what will be the computation needed.

  10. #10
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Help with IF, AND, THEN formula

    Dear Jsimpson,

    How you calculate text? Excel only calculate number like calculator.

    Use evaluate formula on tab formula if you want to know how your formula working.
    Click (*) if you received helpful response.

    Regards,
    David

+ 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: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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