+ Reply to Thread
Results 1 to 4 of 4

Writing IF functions where 'Logic Test' is text string and 'value true' is cell reference

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    Texas
    MS-Off Ver
    Windows 8.1
    Posts
    2

    Writing IF functions where 'Logic Test' is text string and 'value true' is cell reference

    I'm trying to compile two reports I use into one report with a summary. What I call my Job Log is a sheet that adds up daily costs and charges and it carries over daily my copying the sheet tab and editing the new sheet with minor changes using the 'move or copy<move to end, create copy' option. What I am scavenging off of another report is a Monthly Summary that will take references from each one of these daily and compiles it into an easier to read format for other reports I send off.
    So I'm going to write out the formula in general description and i'm looking for someone to translate it to the proper function. Any input would be helpful. Thank you.

    =IF(cell D5 on sheet '9-1-14' reads "Personnel Only" [value if true is (reference cell J25's value) (if false mark 0)

    This formula is sourced from the Month in Summary sheet and is referencing the first day of the month sheet then will be carried over to the following days until the end of the month. If this is flat out un-doable in this structure, what can I do to make it work?

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Writing IF functions where 'Logic Test' is text string and 'value true' is cell refere

    Please Login or Register  to view this content.
    This will look at cell D5 on sheet 9-1-14 and check if it is filled with the text string "Personnel Only"
    TRUE: pull over whatever is in cell J25 on the same sheet as this function
    FALSE: return zero

  3. #3
    Registered User
    Join Date
    09-03-2014
    Location
    Texas
    MS-Off Ver
    Windows 8.1
    Posts
    2

    Re: Writing IF functions where 'Logic Test' is text string and 'value true' is cell refere

    I just noticed an error in my parameters. I entered my data in the format you have above but got a #VALUE. This may be because the "J25" is also on the referenced page and will be pulled back to the page with the formula on it. I attached snips of the two pages if this would help at all.Excell capture.PNGexcell capture 2.PNG

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Writing IF functions where 'Logic Test' is text string and 'value true' is cell refere

    Modify the formula so it is not looking at a range.

    It is currently IF('9-1-14'!D13:D20...
    Change it to IF('9-1-14'!D13...
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

+ 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. IF Statement where Logic Test is a cell that contains a Vlookup
    By dcraggs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2014, 07:04 AM
  2. [SOLVED] logic test showing TRUE when should be FALSE?
    By loopiloo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-23-2013, 01:22 AM
  3. logic test between value and reference
    By Linus in forum Excel General
    Replies: 7
    Last Post: 06-26-2007, 05:27 AM
  4. hpw do I logic test a cell then copy the row to diff. SS
    By Debi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2005, 05:05 PM

Tags for this Thread

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