+ Reply to Thread
Results 1 to 9 of 9

add value depending if the adjacent cell have any value

  1. #1
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    add value depending if the adjacent cell have any value

    Good afternoon

    Im after a formula that will add a value to a cell if the adjacent cell have any date

    Exemple

    if cell a1 is blank cel b1 will be blank but if cell a1 isnt blank then cell b1 will be xxx

    Thank for any help

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: add value depending if the adjacent cell have any value

    in b1:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: add value depending if the adjacent cell have any value

    Thank you, but it didnt work, i have a formula in cell a1 will this affect this formula?

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: add value depending if the adjacent cell have any value

    if post no2 not work
    attach sample
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: add value depending if the adjacent cell have any value

    Quote Originally Posted by nflsales View Post
    if post no2 not work
    attach sample
    please see attched a sample, isnt the original spreadsheet but will replicate what i need

    Thanks for any help
    Attached Files Attached Files

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: add value depending if the adjacent cell have any value

    instead of =IF(A1<>"",xxx,"")
    try
    =IF(A1<>"","xxx","")

  7. #7
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: add value depending if the adjacent cell have any value

    this is great thanks

    if i would like that the result would be equal to the value of a diferen cell instead of xxx what can i do
    Quote Originally Posted by nflsales View Post
    instead of =IF(A1<>"",xxx,"")
    try
    =IF(A1<>"","xxx","")

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: add value depending if the adjacent cell have any value

    in "XXX" ENTER THE CELL ADDRESS or select the cell
    suppose in "XXX" place if you want D1 CELL VALUE
    THEN
    =IF(A1<>"",D1,"")

  9. #9
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: add value depending if the adjacent cell have any value

    tHANK YOU VERY MUCH
    iN THE FIRST FORMULA IF THE CELL THAT IS REFERING TO HAVE A FORMULA THE AJACENT CELL IS GETING THE VALUE(XXX),. HOW CAN I USE THIS FORMUAL BUT IGNOR the formula, this is refering to the first formula that you give me?
    Quote Originally Posted by nflsales View Post
    in "XXX" ENTER THE CELL ADDRESS or select the cell
    suppose in "XXX" place if you want D1 CELL VALUE
    THEN
    =IF(A1<>"",D1,"")

+ 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. [SOLVED] return value depending of the adjacent cell
    By luis6777 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-22-2014, 05:40 PM
  2. [SOLVED] split table depending of the value of the adjacent cell
    By luis6777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2014, 04:34 AM
  3. Insert different functions, depending on adjacent cell value
    By Jim McEwan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2014, 10:50 AM
  4. Sum of rows depending on the adjacent cell
    By cheftt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-06-2012, 09:50 AM
  5. adding non-adjacent cells depending on another cell
    By clayton in forum Excel General
    Replies: 12
    Last Post: 11-30-2006, 12:48 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