+ Reply to Thread
Results 1 to 6 of 6

Put data into different cell

  1. #1
    Registered User
    Join Date
    04-30-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    5

    Put data into different cell

    Hi, is there a way for cell results to be put into a different cell?

    E.g. =IF(A2>A1,S1,S2) where A2>A1 is true S1 contents will be displayed with S2 contents displayed if not true, but I want to e.g.
    =IF(A2>A1,5=S1,S2) I want to put i.e. 5 into cell S1.

    Any ideas?
    Thanks.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Put data into different cell

    If you want the result of S1=5 if A2>A1

    In S1

    =IF(A2>A1,5 , ????) ????

    What is currently in S1 ?

  3. #3
    Registered User
    Join Date
    04-30-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    5

    Re: Put data into different cell

    Cell S1 is empty, I want to put a cell value into cell S1.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Put data into different cell

    Put formula in S1

    =IF(A2>A1,5 , "")

  5. #5
    Registered User
    Join Date
    04-30-2021
    Location
    London
    MS-Off Ver
    10
    Posts
    5

    Re: Put data into different cell

    I want to use S1 as a variable that I can change from inside cell formula. So I can't put =IF into S1.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Put data into different cell

    You will need VBA if you cannot have a formula in S1.

+ 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: 1
    Last Post: 01-04-2021, 04:51 PM
  2. Replies: 4
    Last Post: 05-14-2015, 02:48 PM
  3. [SOLVED] Wirte macro that copies data from 1 cell to a different cell based on data in a third cell
    By Geoff Jones in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-11-2013, 12:37 PM
  4. Macro to input data on specific cell based on range of another cell data
    By tatisif in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2013, 12:06 PM
  5. [SOLVED] Formula Needed to copy data from a cell based on data entered into another cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-10-2013, 03:16 AM
  6. [SOLVED] combing multiple cell data into one cell (show string of data in one cell)
    By EvenRtrsUsExcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-13-2013, 09:00 PM
  7. UserForm data paste to cell, cell character limit cutting off data
    By mpkavanagh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2011, 01:31 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