+ Reply to Thread
Results 1 to 5 of 5

Replace Number by cell.

  1. #1
    Registered User
    Join Date
    06-15-2017
    Location
    Belgium
    MS-Off Ver
    Office 365
    Posts
    2

    Question Replace Number by cell.

    Hello everyone.
    I have a question.
    Right now I have this formula.


    =COUNTIF('Results No Edit'!C5:D200;">=4")


    But I want to replace the number for with a cell, that doesn't it work but I don,t know why.

    Could someone help me please.

    Edit: I changed the command to COUNTIF, First I posted the dutch formula.
    Last edited by Nailyk; 06-15-2017 at 02:33 PM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Replace Number by cell.

    If 4 was in A1, you would change your formula from

    =COUNTIF('Results No Edit'!C5:D200;">=4")

    to

    =COUNTIF('Results No Edit'!C5:D200;">="&A1)

  3. #3
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2505
    Posts
    1,527

    Re: Replace Number by cell.

    Try this:

    Assuming D4 is your cell.
    =AANTAL.ALS('Results No Edit'!C5:D200;">="&D4

  4. #4
    Registered User
    Join Date
    06-15-2017
    Location
    Belgium
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Replace Number by cell.

    Quote Originally Posted by 63falcondude View Post
    If 4 was in A1, you would change your formula from

    =COUNTIF('Results No Edit'!C5:D200;">=4")

    to

    =COUNTIF('Results No Edit'!C5:D200;">="&A1)
    Quote Originally Posted by Estevaoba View Post
    Try this:

    Assuming D4 is your cell.
    =AANTAL.ALS('Results No Edit'!C5:D200;">="&D4
    Well I did not know the & sign needed to be there?
    Could you explain why.
    And thanks btw.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Replace Number by cell.

    The & sign is a concatenation tool that combines multiple sections of formulas.

    Anything inside of quotes is seen as text but you need the formula to see A1 as a cell reference and not as text.

    This is the syntax that Excel requires to make this happen.

+ 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. Find then Replace Adjacent Cell with New Number
    By n0mad in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-28-2017, 08:44 PM
  2. [SOLVED] Replace a number with the value in another cell
    By LAVA2 in forum Excel General
    Replies: 10
    Last Post: 09-16-2015, 03:18 PM
  3. Find a number and replace the adjacent cell with other number
    By shafath03 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2013, 09:09 PM
  4. Replies: 19
    Last Post: 06-13-2012, 09:03 AM
  5. adding and replace a number in a cell
    By johnjohn5 in forum Excel General
    Replies: 5
    Last Post: 12-05-2008, 12:35 PM
  6. Replace cell with another number
    By tlynnl in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 03-03-2008, 07:46 PM
  7. Can not REPLACE number (formula) in a cell
    By FireWalker in forum Excel General
    Replies: 4
    Last Post: 10-17-2006, 05:18 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