After a sort cell reference problem

Hello

I've never used excel or numbers before but I now have, so my problem would come more trivial to most of you.

Please bare with me:

I do a sheet inventory and cost and a few sheets of recipes that refer to the old (inventory)

I want to multiply say the amount of necessary thyme in my recipe by its cost unit I keep in the inventory cards (I can then modify next change of market prices). Everything works well, but once I have start the sorting inventory cards, cell references are messed up that they remain locked up giving a result based on the new item which is now on this line, instead of after the sorting and always give me the calculation related to the unit cost of thyme.

Thank you much for the help!

So far, the results are what I was looking for, but

say I have sort products by names (or any kind of sorting)

the formula now references the cost of yuzu that ended instead of the wheat toast all the

I just thought he would follow the sorting and still give me the cost of the toast.

Hi YLWT,

I had a few difficulties to read on your screen shots, because they understood the entire screen and were reduced in size and resolution when it is inserted here.

To take a picture of PART of the screen:

  • Place the mouse pointer in the upper-left corner of the area you want to include.
  • Press shift-command-4 (the tip will change to a focus)
  • Press the mouse button and drag a selection box to reach the area that you want to include.
  • Release the button.
  • The screenshot will be saved to a file .png on your desktop with the name "screen shot to date at the time.png '.

As can be seen below, the result, dragged here or inserted using the camera above composition window icon, is much easier to read.

I did partial copies of one of the dinner tables and the table of the inventory, including only data (composed for the unit price) to the question in the present case. Table 1 gives the meal table, Table 2 is the inventory table. The formula is displayed in the editor, the first table below.

The first part of the formula is a switch that removes the calculation on this line if no entry is made in column C (quantity). When an entry has been made, IF passes control to the party from C x...

VLOOKUP Gets the search for value in column A of table 1, the search in the left column of the table (columns A to D of table 2) and returns the value in the same row of column 10 as she concludes the research-for value. The returned value is multiplied by the value in column C (table 1), and the result placed in the cells that contain the formula.

That the formula does not rely on the reference to a specific cell, it will survive a sort of inventory table that place the ingredient (as well as its unit price) in a different line of this table. Example below:

Copy and paste version of the formula. Note that you need to change "Table 2" in "Table 2::A:J" to match the name of your table in the inventory.

IF (Len (C) < 1, "", C × VLOOKUP (, 2::A:J Table, 10, FALSE) ")

Enter the first cell on your dining table where a cost is calculated, then fill until the last cell before the footer line.

Kind regards

Barry

Tags: iWork

Similar Questions

  • use the contents of the cell to a cell reference of formula calculate

    In Apple "Numbers", in order to update a spreadsheet each time that the values are added, I first need to calculate the number of days between the date of first entry and last date, using the COUNTA() method. Gives me the line number of the last entry.  For this I "CONCATENATE" a column letter known to a cell reference.

    Using this cell reference, I would like to know how can I use the contents of the cell to update the information contained in the rest of the worksheet. Is this possible?

    Any help would be appreciated.

    Thanks in advance.

    I have a problem following exactly what you want to do, but think that INDIRECT can help.  More here.

    SG

  • CS6 renfilez / reconnection story that I have not threaded - reference problem

    This started as a reference problem. My notes are not always numbered consecutively. I searched the forum and found many complaints about the notes. I think that my problem is that the CS6 begins renumbering of notes if it detects a new "history". I voluntarily started my chapter 28 pages with a full story. However, somewhere along the line, the thread of the story broke. I did a lot of formatting with graphics and images before noticing the notes were again starting with the number 1. I want to join the pieces of the story. How can I do?


    Marsha using Mac Yosemite

    I found the answer after looking everywhere for it!

    Nigel French lesson illustrates and explains how to join two text blocks Threading text InDesign CC EPUB typography | Lynda.com

    OPTION-click on (or ALT-click) the outport of the last frame of the first story then click on as part of the second image to join into one.

  • How to move cells containing formulas without absolute references and maintain cell references

    I know about the selection of the absolute references, etc., but sometimes I'd like to be able to copy a group of cells with formulas and paste elsewhere all retaining the original cell references. For example, several cells with a formula referring to 'A1' continue referring to 'A1' even when I copy the cells elsewhere.

    Is there a change of copy and paste (for example, command + option + C or something?) so that I can copy the same that in Excel, that does not change the cell references when you copy a formula elsewhere?

    Thank you!

    Hi jivejive,

    I am not in anyway you want with a group of cells. I did it with individual cells by copying the function since the Inspector formula and then paste in the Inspector in the new location.

    Quinn

  • Bottom Line: I HATE Firefox 4. It gives me all sorts of weird problems not to mention the frequent freezing MAC OS x 10.6.7. I want to go back to the last #3. It has been impeccable. I tried to leave it in the comments, but he would not submit! BUT

    Bottom Line: I HATE Firefox 4. It gives me all sorts of weird problems not to mention the frequent freezing MAC OS x 10.6.7. I want to go back to the last #3. It has been impeccable. And I tried to present this as your comments but when I hit the button submit, again, it would take. Grrrrrrrrr

    http://support.Mozilla.com/en-us/KB/installing+a+previous+version+of+Firefox

    http://www.Mozilla.com/en-us/Firefox/all-older.html

  • I have a laptop Lenovo bought in the spring of 2008 running on Vista Home Premium. After years of basically no problem, I got warnings my memory was almost full.

    I have a laptop Lenovo bought in the spring of 2008 running on Vista Home Premium.  After years of basically no problem, I got warnings my memory was almost full.  I'm no computer guy, I'm a retired OTR trucker who now lives for people with disabilities.  I checked my system and found Lenovo had two partitions on the hard drive.  The main logic were my programs were only 30gig on a disk hard 150 gigabytes.

    After talking to some friends who know more then me and research, I copied all my personal files on a stick to 4gig and erased the hard drive.  Spent New Years day adaptation of files, wipe the HD, install Vista again and then 6 and hours of updates.

    Monday, I installed my old files, installed new software and reinstall some of my previous, as well as several updates of Windows.

    Tuesday a finer adjustment and more windows updates.

    Today, Wednesday, right off the bat I installed another Windows update.  Update has been installed, computer shut down, restarted, then the computer stopped at step 1 of 3 @ 97%.  I went for half an hour to come back to an error screen telling me I had a corrupted file and to reinstall Vista and using my factor disc repair system.  I wasn't allowed this option.

    I subsequently through trying different restarts that File:\Windows\system32\winload.exe has been corrupted or damaged or missing Windows update attempt.  Given that I had my Windows disk that I was never worried before making a boot disk.  I/we (family of 6) do not have the financial means to purchase recovery discs, go to a tech help.  We are ourselves.  Can someone help me out here?  Are all my personal details on my laptop, a lot of money and time tied up in programs, I can't access.

    I don't know how this forum works.  My email is * address email is removed from the privacy *.

    P. S.

    With all this, if I have to reinstall windows I better upgrade to a 32-bit on a 64-bit?  This will cause problems with existing programs? I see a noticeable improvement in speed?  I checked and I can't change to 64-bit.

    Hello

    Since you have a Lenovo, you can try to get to WinRE among advanced startup options (f8) and performa than a system restore or if you must organize a drive to install Windows Vista full version and try to perform a system restore in Windows recovery environment and check if that helps.
    For more information, you can consult the following articles:

    What are the system recovery options in Windows Vista?

  • Problem does not occur when it is not connected USB so that it looks like some sort of communication problem. The L355 worked perfectly.

    Hello

    I recently installed an Epson L555 instead of my Epson L355, which worked well with my software windows 7 and my BACK program based. However, whenever the L555 turned the printer just keeps ejecting the hopper pages until it is empty. On the menu screen, it says "printing", but there is nothing in the print queue and I didn't send anything to be printed. Sometimes it reads "Fax set auto answer. By pressing the Stop/Reset button stops the ejection pages and "Cancel" is displayed on the screen. This continues for about 2-3 minutes, then the pages start ejected again. Problem does not occur when it is not connected USB so that it looks like some sort of communication problem. The L355 worked perfectly.

    Hello

    Thanks for posting your query in the Microsoft community.

    I understand that print jobs are getting cancelled and I will be happy to answer your query. There could be several reasons for this cause and to diagnose the problem, initially, I ask you to refer to the suggestions in the article below and check.

    Solve printer problems

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • After you install demo of problem Adobe DC Pro... meets an unexpected failure. Running Win 7. Any ideas?

    After you install demo of problem Adobe DC Pro... meets an unexpected failure. Running Win 7. Any ideas?

    Hi garym66400483,

    Please perform this cleanup tool to uninstall Acrobat Download Adobe Reader and Acrobat tool - Adobe LabsDC, reboot your system & reinstall it using this link Download Adobe Acrobat products. Standard, Pro | DC, XI, X.

    Let me know how it goes.

    Kind regards
    Nicos

  • Table, a modified cell reference

    I'm curious to know if I am missing something, or if someone has an eligant way more to capture the last cell changed in a table...

    I thought that this would be an easy value change event by using either the ActiveCell > CellPosition node or the EditPos.  However, I found various problems with the click of the mouse / key press combinations.  The position of the cell doesn't seem to be correct (almost as if there was a lag).  The position of change was correct when entering text, but as soon as a mouse click/tab/return/enter event has occurred, the position of change changed into the new cell.  Then I noticed that the value change event seemed to happen after my key down or mouse click events (although I have not checked if that had to do with the order of my structure of events).

    So I think that I came up with a rather convoluted--despite all the success - method to achieve my goal.  I had to enter a reference to the bunch of rows/columns with the button down event (while ignoring the pressures on the Tab/Enter/Return keys).  Then I used this reference to set an active cell on a value change event.  In this way, just run the code more in depth once.  This efficiency will be more important when executing sequences more involved with a cell change.

    I always did like that:

    Compare OldVal, NewVal. For each cell does not output the coordinates of this cell. You can use these coordinates to define the active cell, if you wish. It's the value change event if this happens only when you change the value in the table, not when the mouse clicks. Is that what you are looking for?

  • Photos App: sort out the problem with the album "all photos".

    photos App: problem of sorting with the album "all photos".

    I activated my iCloud library and as little shared albums.

    In 'Moments' pictures are sorted right (as), but when I go to Album > all photos,.

    so, I see a lot of fotos mixed up. In the option, I see that "all photos" are sorted by date 'added' that still does not make sense...

    It's annoying because when I access photos (iOS) to some 3rd - party - app, it does not show 'moments' but albums like "all pictures" that is not sorted...

    Thanks for the help in advance

    The albums predefined in the Photos on a Mac are sorted differently, in order to have different ways to access your photos.

    • The sight of Photos with Moments and Collections is sorted by the date of Capture.
    • The album 'All the Photos' is sorted by the date that you imported photos, not dates, that the photos were taken.

    Albums that you set yourself can be sorted by title or date of capture. So you can set your own album "my photo all ' as a smart album (file > new Smart Album) by using a rule 'Date's after... ', for example:

    This smart album will contain took all the pictures taken since January 1, 1000 and can by sorted according to the date of capture.

  • Restart after that a windows update problem with VirusScan from McAfee (total Protection)

    I'm under 64-bit Windows VISTA Home Premium SP 1 on a Dell Studio 540 desktop.  8.0 GB RAM.  Intel Core 2 Quad Q9400 CPU @ 2 .66GHz.
    Late last night, I started the PC to go online.  Shortly after, I was invited by Windows update to restart.  So I closed off everything and rebooted, except that I kept scheduled analysis of McAfee, which I set up for Fridays.  I have McAfee Total Protection, which includes VirusScan.  That the PC would shut down, there was a message on the screen of McAfee who said, essentially, stop this scan before restarting.  I'm paraphrasing - I didn't write down the exact message.  After reboot, I started again the background anti-virus scanning.  After a few minutes, I received the following message:
    Microsoft Windows
    Order McAfee VirusScan Scan - Are asked to work and was closed. A problem with the application to stop functioning properly. Windows will notify you if a solution is available.
    I have not received a solution of Windows.  I completely uninstalled McAfee Total Protection, following the instructions of McAfee, then reinstalled.  Everything went very well with these processes.  I have yet to receive an indication of the McAfee software that something is wrong.  After the reinstallation, I tried a scan, but got the same error message as above after a few minutes.  It does not occur immediately, analysis continues for about 5 minutes, then abandoned.
    Chatted with Dell today.  They suggested a system restore, I will try then.

    What updates have been installed?

    During certain infections that are designed to defeat security software will cause the bomb on analyses with an error.

    I also suggest you contact the McAfee Support since it is their product which blocks.  http://service.McAfee.com/TechSupportHome.aspx?LC=1033&SG=TS

    To view installed updates:

    1. click on start > Control Panel > Classic view > Windows Update.

    2. along the top, click view update history.

    3. click on installed updates

    4. you can sort by name, status, Type, or Date updates. You can also click on each update and select Show details to access the details of this update.

    Microsoft partner - "gentlemen, you can't fight in here! This is the war room. »

  • Windows XP Home, black screen after loading screen (seemingly unique problem)

    Hi all

    I am trying to upgrade to service pack 3 Windows XP home on my old computer from eMachines T2838 and experiences a @# *! a time to do it. This is the third time in 2 days I had to wipe my HD and re - install XP, because of some problem installing updates which has damaged the operating system.

    Here's my current situation.

    Yesterday, after the failure of the HD for the second time (computer got stuck "performing cleanup" on SP2, forced a reboot, got a restart loop after, would not load Windows) I installed XP, update to SP2, then downloaded the service pack real itself. He has installed fine and asked me to restart.  I respected that, and the computer restarted. As soon as the "Loading" screen popped up, I knew that something had gone wrong.  When I started on the desk, I was stuck in 640 x 480 w / 4 - bit color graphics mode. Could not be set. So, I thought, okay, let me reboot Windows and see if he "rediscovered" the integrated video card. Well, I restarted, and the "loading screen jumped into the appropriate color mode / resolution, so I thought that I was in the green."  Well, after that, all I get is a black screen. No message 'No signal!' or anything like that.  Even tried a few instructors that I have. Looked around online, has seen the references to "Last known good Configuration" 'safe Mode' etc etc.

    I tried all the options on the list of F8. Either she freezes at Mup.sys xxxxxx or boots up to the loading screen and then goes black after. I can hear the HDD does it's thing for a bit, so I don't know it is loading this screen "check to activate the automatic updates" which appears after SP2 is installed, but I can't.

    Use the recovery console, (did the repair option the first time after it kept restarting, Windows took 5 minutes to start an IE6 get locked every opening, so had to wipe and re-install) typed "chkdsk/p/r" and he did his thing for about 30 minutes, rebooted and still have the same problem.

    I don't know what else to do. I REALLY want to redo everything this a fourth time, only to to have screw it up once again, and I don't know how many times I can use the key I have on the back of the computer.  (Using a retail disk and an OEM key, Finder product key changer.) -A Microsoft Support Officer showed me that one. Quite handy.

    People do you have any suggestions?  I would really appreciate it.

    Hello

    Try the steps listed in the link below and check if it will help: computer stops responding with a black screen when you start Windows XP: http://support.microsoft.com/kb/314503

  • Fix runtime error after trying to solve a problem of printer

    A program that was fine yesterday now displays the following error message:

    Runtime error!

    Program: C:\Sierra\CardZone\Planner.exe

    abnormal termination of the program

    This happened after Epson technical support was trying to solve a problem with the printer. UGH!

    You can replace the file execution somehow?

    Where is it on my PC (Vista)

    Is there a registry fix?

    IF I reinstall the software Cela will correct the error?  It must be a Windows file and not a software?

    Thank you.

    I'm so positive that she has nothing to do with my profile, because I have no problem with other software or programs.

    One last question. So, there is NO single file on my computer which can be replaced by a new version of a registry file that would take care of this?

    She seems to be just associated with a program that I think I'll quit smoking aid.

    Thanks for your time.

  • Cell rendering problem

    Hello. I have a problem with the rendering of my cell. I'm doing the police in a certain rank appear in red. My code works well, but when you try to filter using of line sorter or table header, the colored lines do not change. How can I make the renderer may check the values on all kinds?

    Here is a sample of sorting using the table header.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    
    public class table extends JFrame {
         public static void main(String[] args) {
              new table();
         }
    
         public table() {
              initComponents();
              table1.setAutoCreateRowSorter(true);
              for (int i = 0; i<table1.getColumnCount(); i++) {
                   TableColumn column = table1.getColumnModel().getColumn(i);
                   column.setCellRenderer(new myTable());
                   if (i == 0||i==7||i==8){
                        column.setPreferredWidth(100);
                   }
                   else if(i==3||i==4){
                        column.setPreferredWidth(180);
                   }
                   else if (i==5||i==6){
                        column.setPreferredWidth(120);
                   }
                   else if (i==9){
                        column.setPreferredWidth(60);
                   }
                   else {
                        column.setPreferredWidth(130);
                   }
              }
         }
    
         public class myTable extends DefaultTableCellRenderer{
              @Override
              public Component getTableCellRendererComponent(JTable table, Object value, 
                        boolean isSelected,boolean hasFocus, int row, int col){
                   Component comp = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, col);
                   
                   String qtyValue =  table.getModel().getValueAt(row, 1).toString();
                   if(Integer.valueOf(qtyValue)<3){
                        comp.setForeground(Color.red);
                   }
                   else{
                        comp.setForeground(Color.black);
                   }
                   return comp;
              }
         }
         
         private void initComponents() {
              // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
              scrollPane1 = new JScrollPane();
              table1 = new JTable();
    
              //======== this ========
              Container contentPane = getContentPane();
              contentPane.setLayout(null);
    
              //======== scrollPane1 ========
              {
    
                   //---- table1 ----
                   table1.setModel(new DefaultTableModel(
                        new Object[][] {
                             {"Item A", "1"},
                             {"Item B", "2"},
                             {"Item C", "1"},
                             {"Item D", "4"},
                             {"Item E", "5"},
                             {"Item F", "2"},
                             {"Item G", "3"},
                             {"Item H", "7"},
                             {"Item I", "2"},
                             {"Item J", "9"},
                        },
                        new String[] {
                             null, null
                        }
                   ));
                   scrollPane1.setViewportView(table1);
              }
              contentPane.add(scrollPane1);
              scrollPane1.setBounds(5, 0, 465, 320);
    
              { // compute preferred size
                   Dimension preferredSize = new Dimension();
                   for(int i = 0; i < contentPane.getComponentCount(); i++) {
                        Rectangle bounds = contentPane.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                   }
                   Insets insets = contentPane.getInsets();
                   preferredSize.width += insets.right;
                   preferredSize.height += insets.bottom;
                   contentPane.setMinimumSize(preferredSize);
                   contentPane.setPreferredSize(preferredSize);
              }
              pack();
              setLocationRelativeTo(getOwner());
              this.setVisible(true);
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              // JFormDesigner - End of component initialization  //GEN-END:initComponents
         }
    
         // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
         private JScrollPane scrollPane1;
         private JTable table1;
         // JFormDesigner - End of variables declaration  //GEN-END:variables
    }

    1. by convention, the names of Java classes begin with a capital letter. I would say that the Table, no table, except that this Table is a source of confusion for a name class.
    2 swing GUI should always be built and manipulated to the EDT.

    To answer your question

    When you try to filter using line sorter or table header, the colored lines do not change. How can I make the renderer may check the values on all kinds?

    Use the JTable methods that convert between the index of the view and the model.

    DB

  • Help necessary after CS4 CS3 installation uninstall problem

    Hello

    I recently upgraded my computer from Vista to Win7, so I spent a lot of time to update applications.  I realized my CS2 wouldn't work and I was told that I had to at least get CS3.  I bought the CS3 and installed on my two new Win7 machines without problem.  I then discovered that CS3 is no longer supported by Adobe, so I need to get CS4 or CS5. I installed CS4 trail and decided for now back to CS3.  I had not uninstalled CS3, but was disabled, not knowing if CS4 would no longer write it or if the two can co-exist.  uninstalled CS4 via the Control Panel, CS3 re-activated and all was well on both machines.  Then, on my machine main update of Adobe wanted to update a few modules, InDesign and Acrobat Pro.  Things went very well with the update until he asked me my CS4 disc?  I have it mood the second time and fed Alternatively the CS3 and CS4 disc... he let me not put both if I swapped the drives until I was no longer able to lift my arm and when everything is done, the installation failed.

    He left me with no functional InDesign.  To make things worse, activation could not connect to Adobe for some reason any.  I was able to use the phone process to activate products, but now I wanted to try installing CS3, but it wouldn't let me disable due to network issue, and there is no option to disable, internet phone or she to jump.

    I called Adobe and asked for help.  I talked about the problem of turning off for them.  They said to go and Uninstall CS3 and we arrange activation after the re - install.  Knowing that he might take a long time, he said he'd call me back... never did.  I tried to help and were unable to get help.

    What I have now is a CS3 uninstalled that I can't install at all, so I am in worse shape before, when only InDesign did not work.

    I have DW3 on the same computer and it is very well and has been very well throughout the process.

    I need a way to exorcise the PC of all memory of CS3 or CS4 so I can really start from scratch.  Is there a such a "wipe bomb Adobe" I might fall on my registry to really get rid of his insistence on the CS4 install disk need?

    I am convinced that CS4 did not uninstall cleanly, leaving files or settings that still refer to CS4, in conflict with any attempt to update or reinstall the product correctly.  I hope that this happened to someone else and has found a solution, far from rebuild the whole PC.

    Thank you!

    Lew

    Adobe Photoshop cleanup script is would have been good for just this sort of thing:

    http://www.Adobe.com/support/contact/cs5clean.html

    He said CS5, but it works on older versions as well (note the text at the beginning of the description).

    -Christmas

Maybe you are looking for

  • How can I get my ipad to the latest iOS uptate

    How can I update my iPad to the latest iOS

  • Safari 10.9.5 refuses to open

    My Safari on Mac OS X 10.9.5 refuses to open I tried re starting from the SafeMode to no avail. I tried to the top of standings in Capitan, but the process crashes.

  • L50-B-2FH satellite: how to find the right drivers?

    Hello even after the selection of the details of the system al (2FH-B-L50 / PSKTNE, Windows 64-bit Professional 8.1), I always get several WLAN, Bluetooth, TouchPad etc drivers for my system. How will I know the good ones? They may depend on differen

  • various indicator color

    Hello.. I know, Boolean indicator cannot show 2 types of color (in and out) is it possible to create a flag with at least 4 different color display?

  • icons always in motion

    Windows 7, SP 1, p7-1210, office.  IE7. Is it possible to lock my icons on my desktop?  Lately, they have been moved on reboot.  I unchecked "rearrange icons.  Thanks to all those who can help you.