+ Reply to Thread
Results 1 to 6 of 6

populate a field based on a value

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    3

    populate a field based on a value

    I want to know how to take a field with a value and apply it to fields with range. In this case if i had a value of 15 it would enter that value in this field
    below. I tried an IF formula but it did not work.

    range 31 to 40
    range 21 to 30
    range 11 to 20 15
    range 1 to 10

    Thanks for your help
    Last edited by rtorres; 03-06-2009 at 11:36 AM. Reason: solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: populate a field based on a value

    We need to see what you're really trying to do. The example feels backwards to what is normally done. Do you have some real sample data showing what/where you're trying to accomplish this?

    GO ADVANCED on your next post and click the paperclip to attach a workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-05-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: populate a field based on a value

    What I got so far is D14 is the value that will be entered. I want to populate the value from D14 to D9,D10,D11,D12,D13 if it falls within the range
    I used this on D13 if(d14<650,d14,"") That works. Shown on Attachment
    d9 if(d14>880,d14,"") That works

    If you change d14 to 881 it will show you what I am trying to accomplish.
    Just can't figure how to do the range?

    Thanks for the help
    Last edited by rtorres; 03-06-2009 at 11:37 AM.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: populate a field based on a value

    Well, what you have seems slick enough. Now tell me what you want to happen OTHER than what is happening. If not in formulas, then with raw manual examples. I don't know what/where you're trying to CHANGE.
    Last edited by JBeaucaire; 03-06-2009 at 01:22 PM.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: populate a field based on a value

    Wait, I think I figured it out. You're talking about the conditional formatting over the whole table range at the top coupled with more formulas? Maybe? Look this over in the top section.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-05-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: populate a field based on a value

    Thanks JBeaucaire. That's exactly what I was looking for.
    Last edited by rtorres; 03-06-2009 at 11:34 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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