Choosing a cell depending on revolving Data

I hope I can explain this correctly.
I have one cell in Table 1 that I want to be a word from another cell from Table 2 Column A, depending on the data in Table 2 Column B
For example, I have a table (Table 2) with 2 columns where Column A = Name, and Column B = Dollar Amount. I want the cell in Table 1 to always equal the Name in Table 2 that has the lowest Dollar Amount. What is the best formula to enter into Table 1?
Thank you,
Mike

=LOOKUP(SMALL(Table 2 :: B,1),Table 2 :: B,Table 2 :: A)
If there are any blank rows in Table 2 Column B, the SMALL function (and therefore this entire function) will give a warning that you are including blank rows. You can do one of three things:
1) Click on the blue triangle and choose to ignore the warning
2) Remove the blank rows
3) Change the range from Table 2::B to the actual range of interest such as Table 2::B2:B10.

Similar Messages

  • Value of a cell dependent on a data selected from the list in another cell

    Hello Everyone,
    Could you please help to solve this puzzle.
    I need to make a value of cells in the 2nd column dependent on the selection made in the cells in the 1st column, i.e.:
    Header 1
    Header 2
    List An
    LIst Bn
    Lists A and B have 10 items each
    A1    B1
    A2    B2
    A10  B10
    If A1 is selected I need a B1 appear in the second column in the same row, if A2 selected then B2,...and so on.
    Could you please hep to resolve this, if at all this is possible?
    Many thanks,
    Andrew

    Supposing that your list is a drop down list, you could put a script like the following on the exit event of List A. (very approximate, since I don't know any of your field names)
    switch (this.rawValue)
    case "A1":
         ListB.rawValue = "B1";
         break;
    case "A2":
         ListB.rawValue = "B2";
         break;
    Obviously, you'll want to replace "ListB" with the name of your field, and possibly the references to it (ie. TableName.RowName.FieldName) and fill in more case statements all the way to A10 if that's what you need. If List B is going to be a read-only field, you may even want to make it simply a text input box and have it display the values you want it to have based on the selection from List A.

  • Enrollment of Benefits for a dependent and for date in the past

    Hello Experts-
    Can anyone let me know? What kind of changes need to be done on backend and portal for enrollment iview to enable a date in past for enrolling a dependent to the benefits..
    Thanks,
    Raj.
    Edited by: raj1234 on Feb 25, 2011 9:16 PM

    The way we have configured this as follows:
    -  We ask employees to first add all the dependents to the system before beginning their enrollment process.
    - Adjusted the Use cases for the Dependent infotype and subtypes accordingly.
    - Implemented the BADI (with custom logic for DEFAULT_DATE) HRXSS_PER_BEGDA to control the start date of the enrolled dependents.
    - We control the start date of the dependent records created in various ways (birth day of dependent, employee start date, adjustment reasons, ... )
    With this, we are able to provide employees with the ability to add dependents as of a past date and hence enroll dependents in Benefit plans as well.
    - Shanti

  • What is time dependent / independent master data ? what impact it has

    Hi All,
    Please let me know what is time dependent / independent master data ? what impact it has on the data.
    Kindly suggest .
    Regards,
    Sushmita

    Hi Sushmita,
    I will expain to you by taking an example.
    Suppose you have customer and that customer have location as attribute.
    So this customer may change from one location to another location from time to time so here you have to maintain time dependent master data for this customer.
    You have to maintain below like this
    Customer   from_data   to_date    location.
    c100          01/9/2008     12/12/2008   bang
    c100          13/12/2008    22/1/2009    Hyd
    Hope it helps.
    Thanks & Regards,
    Ramnaresh .P.
    Edited by: ramnaresh porana on Jan 22, 2009 5:23 AM

  • Condition Type dependant on Pricing Date

    Hi,
    I want to know how to make a particular condition type dependant on pricing date. e.g We have a pricing procedure where a couple of condition types are only displayed, when I go to the header details in VA01 and put the pricing date manually in the Sales Tab.
    Thanks
    Amol

    Hi Amol,
          Go to V/06 and goto perticular condition type detailes screen, At bottom there is control data 2 in that there is field called 'pricing date' you enter "B" in that field, I think it will fullfill your requirement.
    If it is helpfull please reward me with points,
    Regards,
    Murali

  • FI: Payment condition calculating 2 due-dates depending on document-date

    Hello community!
    I'm searching for a definiton of a FI-payment-condition which is calculating two different due-dates depending on document-date.
    E.g.:
    Invoices dated from 01.03.08 till 09.03.08 should be paid on 10.04.08.
    Invoices dated from 10.03.08 till 31.03.08 should be paid on 10.05.08.
    Or must this be realized by a FI-substitution???
    Thanks for an answer.
    Kind regards,
    Bernd

    Hello,
    You didnot mention if u need posting date as base or document date. However your scenario, below is
    the answer for your query is
    1. Create one customised payment term only eg. XXX
        for first scenario,
       Day limit is 9 ;
       under payment terms tab , fixed date 10, Addl month 1
       for second scenario
       in the same payment term XXX
       Day limit is 31,
       under payment terms tab , fixed date 10, addl month 2.
    Explanation.
      as day limit is 9, what ever the dates of transaction between 1-9 it picks first setting
    and after 9th until 31st it picks second setting.
    I hope this clarifies you.
    Thanks
    G.Bharathi

  • Hide disclose icon form ADF tree row depending on row data

    Hello,
    I've got an ADF tree based on recursive View Object. So basically we don't know how many tree levels are there, but depending on a row data we know that the row is a leaf and there will be no children rows.
    But the disclose icon is there event though we definitely know it is currently useless.
    So is there any way to hide the disclose icon from ADF tree(treetable) row depending on row data?
    Thanks.
    ADF 11R2

    Great, it works.
    The only thing is suggested style just makes the icon invisible, but it is still there and can be clicked.
    I applied .hideDiscloseIcon af|treeTable::collapsed-icon-style
    display: none;
    }and there is no disclose button at all.

  • Time-dependency in master-data

    Good mornging BW-community
    I still have a problem during my query. I have time-dependent master-data (an item infoObject with it's corresponding price as an attribute) and want to show the item prices depending on the date of sale on my bill. I can put a "key-date" in my query-properties, but that delivers only the price to that date. I would like to have the price determined by the date of sale saved in 0CALDAY in my cube. What do I have to enter in the query-properties?

    Hello Jochen Schmitz  ,
    You can write routine in update rule which fetches values from master data info object and collect it into ODS as per bill date.
    The code in update rule should like this ..
    select price into lv_price from /bic/table  "table containting time dependent master data
                        where material = /bic-material
                           and billdate >= datefrom
                           and billdate<= dateto.
    Hope that helps.
    Regards
    Kapadia
    Message was edited by:
            Mr Kapadia

  • How to set colors in cells depending the conditions  in alvtree

    Hi All,
    Could you please provide me idea or sample program how to set colors in cells depending the conditions  in alvtree.
    Thanks,
    Suresh

    When running vim in a terminal, it will use whatever colour scheme is defined by the terminal.  You should have a look at this thread:
    http://bbs.archlinux.org/viewtopic.php?id=51818
    Also, check the wiki article on Xdefaults.

  • Price depends on first date

    Dear experts,
    Q: Whithout changing pricing date, is it the only way to use enhancement to make sales orders line item capture condtion record depends on first date?
    Example:
    The sales order has 2 line items against customer ABC. One shows first date Sept. 27 while the other shows Oct. 10. Customer ABC has 2 condition records. One is $10 from Sept. 1 to Sept. 30. The other is $9 from Oct. 1 to Oct. 30.
    Request:
    When first date shows Sept.27 in the sales order, the price of this line item should capture $10. When first date shows Oct. 10, the price should capture $9. However, users are not willing to change pricing date for each line item in the sales order. You know, it's easily caused erros by users' oversight, especially for sales bom orders.
    Plz help. Many thanks.

    As you may be aware for your sale order type in VOV8, you have a field "Prop.f.pricing date".  Here you have four options and based on any of these options only, system will populate while creating sale order.  If you want to deviate from this, then I feel, you need to go for a suitable sale order exit.
    thanks
    G. Lakshmipathi

  • How can I put data to cell according to what data you entered first?

    I'm using DDE to simulate vi to excel, it display the data to excel correctly, according to what data i entered, but i already assign specific cell to a specific data. i want that for example, the data that has been read is SOG row 1 column 3. and FOG row 2 column 3. how can i distinguished what data read first? bec. if you first entered data FOG it will entered in row 2 and if you entered SOG it will appeared in row 1, if you have a lot of entered data you will not distinguished what data enetered first.
    can you please give me an idea how can i solve this?
    Thank You

    I'm not totally sure if I understand your question, but it seems to me that you have two pieces of data - SOG and FOG. This data will be written to your Excel file in the same location each time. Are you writing FOG and SOG from the same VI? If so, why not use a shift register to keep order? Another option is to insert a time stamp next to the SOG or FOG data and then view the time stamp to know the order. Or, you could write the data to a simple text file. Keep appending the data. When you want to know the order, just open the text file and you will have the insertion sequence there. Good luck.

  • How do I create a battery power percentage animation, thats output is dependant on excel data?

    Hi,
    I was wondering if it is possible to create an animation with the output result dependant on excel data (or another form of data if not possible in excel).
    E.g I would like to make a battery animation that shows the percentage of power, but I want the animation to change if the data is changed (say from 30% to 60%) .
    Thanks for any help

    I was just reviewing your post, do you have anything a bit easier to follow? I havnt used flash in a while and im struggling to follow .
    I have decided to create a dial instead of a battery. I want the needle to move to a number when I enter that number into either somewhere in flash or a spread sheet.
    Here's the dial I have made

  • Differentiating Between Dependent and Independent Data

    HI,
    How can I make a differentiation between dependent and independent data?

    HI,
    If you double click a Transfer requirement in SE10 or SE09 and then press F4 in the field category, you will find some helpful information.
    Client dependent or independent transfer requirements include client specific or cross client objects in the change requests. Workbench objects like SAPscripts are client specific, some entries in customizing are client independent.
    If you display the object list for one change request, and then for each object the object attributes, you will find the flag client specific.
    If one object in the task list has this flag on, then that transport will be client dependent.
    You can also find a list of the high class objects in SAP, here you will see the flag on/off. Use TCODE SOBJ.
    Start STMS and double click on the request itself, you will see which type of request it is (Workbench -> client independent or Customizing -> client dependent).
    I recommend you to import every request on each client without looking inside the request.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Get cell value in Planning Data form and using it in a business rule

    Hi Everybody,
    if i set the data type of an Account Member as text, is there a way to get the value inserted by the user in a dataform, turning it as dimensional member and using it in a business rule?
    So, if the user insert the value "USA" in a cell, can i use any functions to tell essbase that "USA" is a dimensional member and then using it in a business rule, for example in a cross-dimension like Period1->FY12->USA?
    I tried to use the function @Member and it doesn't work, but i'm wondering if there is a way that can let me get the value inserted and use it just like a dimensional member. What are the ways that can let user input value that can be used in a business rule? I think one is by using SmartList, is there any other ways? Maybe using variables?? As an alternative i tried to use Prompt Variable but there are too many members on which the rule must run.
    Please help me, i wanna know if i can or not let the user input the member on which the rule must run...
    Thank all guys
    Bye
    Maurizio

    Thanks EW for your answer,
    YesI could use SmartList even if i think it's very tough to handle. My experience on using SmartList in caclc script is not so good. I try to enter in details of my requirement:
    I have 500 account members.
    For each one, I have to calculate the monthly budget by sharing the amount among the months. The user wants to calculate it on the basis of the actual flow(over the months) of an unspecified account of the prior year. The unspecified account must be inserted in a data form.
    So, i could use a Smart List but it colud be of 500 elements and then i should make a rule with as many IF as how many are the accounts. Or im wrong? The only way to use smart list dynamically in a business rule is by referring its values in a IF condition. Or i'm wrong.
    I tried to use execution variable ma it seems don't work. In this case the user must pay attention to write the account correctly, otherwise as you say the rule doesn't work.
    The value in PD0A020 is "PD0A000" (that is a dimensional member). The value in PD0A000 is "hello". In PD0A040 the rule returns "PD0A000" and not "hello" as i would. The function @Member appears to be not able to catch the dimensional member by the value in PD0A000.
    {Example}="test"->"Input"->"Scenario_test"->"FY12"->"PD0A020";
    Fix("test1","Input","Scenario_test","FY12")
    "PD0A040"=@Member({Example});
    endfix
    So, my doubt is: is it possible for Essbase/Planning to use the value inserted in a data form and to turn it in a dimensional member? What are the practicable ways to let the user input/choose the member on which makes the rule run?
    Thank you Ew, thank you guys
    Maurizio

  • Issue in cell format when exporting data to excel

    Hello there,
    I have an ABAP program that selects data from tables into an internal table and writes the data in CSV (excel) file.
    I have a very weird issue when writing the file: The data is written properly, though the dates in my data, which is written in yyyymmdd format, has different cell format in the csv file itself. I'll expain:
    Let's say I've written into CSV file a table with name and birthdate, and I have 2000 records. From record 1 to 1475, when I right-click on the date cells in those lines, and choose "cell format", I can see it's in "general" format. From line 1476 on, when I do that I see that the date cells are in format of "custom" with pattern 'yyyymmdd'.
    I want all the cells to be "general". How do I do that?
    Thanks in advance

    Hi Daniel,
    Try using these Function Module......................
    Before filling final internal table write those condition.................................
    Data:  gv_date   TYPE mch1-vfdat,
             gv_vdate(10) TYPE c.
    CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             date_internal            = gv_date
           IMPORTING
             date_external            = gv_vdate
           EXCEPTIONS
             date_internal_is_invalid = 1
             OTHERS                   = 2.
         IF sy-subrc <> 0.
    * Implement suitable error handling here
         ENDIF.

Maybe you are looking for

  • Consolidate Apple E-mail Addresses

    I am trying to use one email address across all my Apple platforms, and it is a major pain in the $$$.  Something that should be so simple... How can I use one email address for my iCloud and iTunes accounts? My bet is this is cause by some kind of c

  • Error in Data source

    Dear All, While creating transfer or update rule the following error occurs - "DataSource COMPLEX does not exist in source system SANTANU of version A" here COMPLEX = Data Source SANTANU = Source System Where as I have already defined Data Source Com

  • 4280 Error

    I have the same problem that many people appear to have. I hope by posting my diagnostics someone can help me. Thanks Microsoft Windows XP Home Edition Service Pack 2 (Build 2600) Sony Corporation VGN-FS660_W iTunes 7.0.2.16 CD Driver 2.0.6.1 CD Driv

  • Oracle SQL and PL/SQL interview questions.

    Can anyone forward me all Oracle SQL and PL/SQL Interview questions and answers asap. Many Thanks. Bba

  • Link back from CE_PAYMENT_TRANSACTIONS

    Hi all, Can anyone tell me the source table from CE_PAYMENT_TRANSACTIONS is populated from? Miranga