+ Reply to Thread
Results 1 to 5 of 5

if the current row is same as below row number?

  1. #1
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156

    if the current row is same as below row number?

    how do i perform a subtraction only if the current row's column A is same as the below column A number?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi

    In say B10
    =If(A10=A11, (your subtraction),0)

    HTH

  3. #3
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156
    i tried to use A2="C" but it doesnt work ?

    column A is text field with A, B or C.


    =if(A2="C",(B2-B3),0)

    the condition return false, even that A2 is = "C"
    Last edited by okl; 09-15-2008 at 06:40 AM.

  4. #4
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    What does not work? Your question is a bit vague.
    //Ola

  5. #5
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156
    nevermind, it work now on my home pc, but not in office's

    I figure out tomorrow again!

+ 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: 07-29-2008, 03:23 PM
  2. count the number of members in cells seperated by ;
    By wali in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2008, 01:46 PM
  3. multyplication by finding number from rows
    By vinumv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2008, 02:22 PM
  4. Replies: 4
    Last Post: 06-13-2007, 12:24 AM
  5. Determining required number of contacts
    By Bobcalling in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2007, 01:27 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