Results 1 to 4 of 4

Thread: Excel, fill cells based on the information from another

  1. #1
    Daniel Craig is offline Member
    Join Date
    Mar 2011
    Posts
    54
    Rep Power
    3

    Default Excel, fill cells based on the information from another

    I have a doubt if you can do a certain function in Excel I think it can do, but do not know how to call this or if it really can not do so easily, it is that for each row, based on information from a cell in another column, fill me with a fact that I choose based on what you put in the other cell. Claramente To explain, imagine that in a column marked "Pears", "Apples", "Melons", etc I will, in another column, that your content is, for example, "1" column of fruit set "Pears" is "B" when it says "Apple" and is "s1" when set "Melons" . For each row, when data in a column in another place a fixed content for each of the data in another column, as in my case are repeated several times it may appear "Apples" 40 times, and "Pears" 25 times.

  2. #2
    Join Date
    Oct 2010
    Posts
    57
    Rep Power
    3

    Default

    Hello If I understand correctly you only need to use the function = IF logical condition; share1; Action 2 When the condition is met but held Action1 Action2, as more conditions you have to add one if within if, to further control them all. More or less like this: = IF (condition1; SHARE1; if (condition2; Action 3: if (condicion3; Action4; action 5))) Another option is to do it on VisualBasic code in a macro, but if you just want it so simple with so and dragging a formula for all cells that interests you already have enough.

  3. #3
    Daniel Craig is offline Member
    Join Date
    Mar 2011
    Posts
    54
    Rep Power
    3

    Default

    Thank you very much, they will be about 30 different conditions, I guess it will not be excessive, right, because I no Visual Basic, although I have seen some programming language (Fortran only really), I have even rusty, the conditions and actions do not necessarily have to be information of a cell, right? I mean if I can fill the value within the formula itself, but I suppose I can do with cells, in which case you should set the $ cells do this from the master it and have used it more times to prepend the row or column to block the movement of row or column.

  4. #4
    Aubrey Perez is offline Member
    Join Date
    Feb 2011
    Posts
    57
    Rep Power
    3

    Default

    Hello 30 nested conditions Or what is the same one condition, within another within another 30 times, if this is the case you can go crazy writing formula and probably will not allow you much length the excel. In this case it would be much better a simple macro code using the "select case" where each "case" that the cell would you do such a value could be modified.

Similar Threads

  1. Replies: 1
    Last Post: 02-16-2012, 09:34 AM
  2. Where can I ascertain excel style to get information input cells
    By Gene Philip in forum other peripherals
    Replies: 4
    Last Post: 12-12-2011, 11:54 AM
  3. Combining Two Cells of Data into One in Excel
    By Davisricky in forum Software Jargons
    Replies: 0
    Last Post: 01-18-2010, 01:46 PM
  4. How to Calculate Cells in Excel 2007
    By MyersGray in forum Programming
    Replies: 0
    Last Post: 01-13-2010, 05:21 PM
  5. How to Configure Talking cells in Excel 2007
    By Roger Arundel in forum Programming
    Replies: 0
    Last Post: 07-25-2009, 09:53 AM

Tags for this Thread

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48