+ Reply to Thread
Results 1 to 4 of 4

Cell referencing two columns with conditions

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    2

    Cell referencing two columns with conditions

    hi,
    Please assist in creating a formula related to cell referencing, described as follow,
    I have two colums, ex sheet 1 named jentry , d9 = debit and e9= credit. in sheet 2, e2, a formula referencing to both D9 and E9 , with conditions that if d9 will be with value more than 0, use d9 and if E9 will be with value >0 use -(minus) e9 , and if both them will be with value less that 0 or both column with value ignore , or it should be that only one column D9, or E9 will be with value.
    I already created one but still does not fit my requirement
    =IF(AND(jentry!D9>0,jentry!D9>0),+jentry!D9,IF(AND(jentry!D9>0,0),+jentry!D9,IF(AND(jentry!E9>0,jentry!E9>0),-jentry!E9)))

    I attached my template for reference

    Thanks in advance

    Ofel
    Attached Files Attached Files
    Last edited by galang_ofel; 07-22-2013 at 09:38 PM. Reason: WILL AMEND THE TITLE

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Help with formula

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

  3. #3
    Forum Contributor
    Join Date
    06-26-2013
    Location
    Makati
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Formula problem

    Hi galang,

    Your thread's title still doesn't comply with forum rules. It said "Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice ".
    Change your title again and attach a sample workbook ( if possible ) without sensitive data including before and outcome that you want so it will be easier for people to understand and help with your problem.

  4. #4
    Registered User
    Join Date
    04-25-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Cell referencing two columns with conditions

    Hi,
    Problem solved formula that meet my requirement as follows
    =IF(AND(jentry!D25>0,jentry!E25>0),0,IF(AND(jentry!D25<0,jentry!E25<0),0,IF(AND(jentry!D25>0,jentry!E25<0),0,IF(AND(jentry!D25<0,jentry!E25>0),0,IF(jentry!D25>0,+jentry!D25,IF(jentry!E25>0,-jentry!E25,0))))))

    Thanks a lot
    Ofel

+ 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: 6
    Last Post: 10-08-2009, 03:45 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