Need a formula which uses the VLOOKUP and HLOOKUP function to return a single value
I'm creating a worksheet price with multiple values. In the table below if I select size 16 in blue the result must return 19.5
Red | Yellow | Blue | Green | |
size | ||||
10 | 5 | 6.25 | 7.5 | 8.75 |
12 | 13 | 14.25 | 15.5 | 16.75 |
14 | 15 | 16.25 | 17.5 | 18.75 |
16 | 17 | 18.25 | 19.5 | 20.75 |
20 | 19 | 20.25 | 21.5 | 22.75 |
Hi Eric,.
More large table is Table 1.
Formula is C2 of table 2.
C2: = INDEX (1::A1:E7, GAME table (Table a, 1::A, 0), GAME (B2, 1::1:1, 0),-l' surface index)
Kind regards
Barry
Tags: iWork
Similar Questions
-
by using the LAG() and MIN() functions
So, I try to get the smallest number in a column of an alias I use LAG() in. I know, which makes no sense, so here's what im trying to do with a SQL statement:
Select MIN (NUM1 - lag (num1, 1, 0)) over (ORDER BY NUM1) AS J_LAG ORDER BY HEY HEY
Basically I want the smallest number of the column that I run the lag function on. When I try to it says, ' ORA-30484: lack of specification of the window for this function. I tried to put in brackets the minutes like this: MIN (NUM1 - lag (num1, 1, 0)) and as follows: MIN (NUM1 - lag (num1, 1, 0) over (ORDER BY NUM1)) and none of them does not seem to work.
Any ideas?
-Joshualike this ?? Select Min(hey) From (Select num1 - lag(num1,1,0) over(ORDER BY NUM1) As hey From J_LAG)
-
When I use the function "Save and exit" has no effect. The next time I open Firefox it goes to my home page only.
This has happened
Each time Firefox opened
Is 3 days ago
If you use delete navigation, search and download history on Firefox in Firefox 3.5/6, or clear private data in Firefox 3 to clear the browsing history when Firefox is closed then in restaurant tabs at the last session (for example "save and exit" or "show my windows and tabs from last time ') does not work.
-
OfficeJet J4660 all-in-One on Windows Server 2003 R2 - cannot use the scan and fax functionality
Hello everyone,
I recently purchased the Officejet J4660 AIO. I had to install on our Windows Server 2003 R2 (with all latest updates), being present on the CD of driver for Win XP, I had to download the latest driver (OJJ4600_Corporate_ENU_10 - 55.8 MB) from the HP site. During installation, ONLY the printer driver has been installed. I can't use the SCAN function or the FAX software. In fact, the icons for these two programs not created in the HP program group. No error message appeared well while installing.
All the world was a program similar and been able to get a work around for this? I would like to use AIO printer that I bought, not only on the side of impression of it.
Any help will be much appreciated.
Thank you.
Salim
I think that the Acquisition of Image Windows (WIA) service is disabled in your system. Unlike Windows XP or Vista, in most Windows Server systems, this service is disabled by default. You can activate it in this way:
1. right click on my computer and select manage.
2. Select "Applications and Services-> Services";
3. find Windows Image Acquisition (WIA), right click and select Properties.
4. Select "auto" in the "Startup Type" list box in the "Général" tab
5. in the situation 'Services', click 'start '.
-
Using the MIN and MAX functions
Hello
Guide to please the following:
I have a table with records like below:
Invoice ID RegistrationNo InvoiceDate
1 AB-1 JANUARY 1, 10
2 CB-4 MARCH 23, 10
3 AB-1 1ST JULY 10
4 FG-2 AUG 1, 10
AB - 5 1 7 FEBRUARY 11
CB - 6 4 FEBRUARY 8, 11
7 CB-4 12 AUG 11
I want to pass the result of the SQL query, as below
For RegistrationNo = AB-1
Reffacture RegistrationNo InvoiceDate
3 AB-1 1ST JULY 10
AB - 5 1 7 FEBRUARY 11
For RegistrationNo = CB-4
Reffacture RegistrationNo InvoiceDate
CB - 6 4 FEBRUARY 8, 11
7 CB-4 12 AUG 11
I want to get that two records by RegistrationNo with the previous date of min, whose date max more forward.
Kind regardsSomething like that?
WITH A AS (SELECT 1 INV_ID, 'AB-1' REG_NO, TO_DATE ('01-JAN-10', 'dd-mon-rr') INV_DATE FROM DUAL UNION SELECT 2 INV_ID, 'CB-4' REG_NO, TO_DATE ('23-mrz-10', 'dd-mon-rr') INV_DATE FROM DUAL UNION SELECT 3 INV_ID, 'AB-1' REG_NO, TO_DATE ('01-JUL-10', 'dd-mon-rr') INV_DATE FROM DUAL UNION SELECT 4 INV_ID, 'FG-2' REG_NO, TO_DATE ('01-AUG-10', 'dd-mon-rr') INV_DATE FROM DUAL UNION SELECT 5 INV_ID, 'AB-1' REG_NO, TO_DATE ('07-FEB-11', 'dd-mon-rr') INV_DATE FROM DUAL UNION SELECT 6 INV_ID, 'CB-4' REG_NO, TO_DATE ('08-FEB-11', 'dd-mon-rr') INV_DATE FROM DUAL UNION SELECT 7 INV_ID, 'CB-4' REG_NO, TO_DATE ('12-AUG-11', 'dd-mon-rr') INV_DATE FROM DUAL) SELECT INV_ID, REG_NO, INV_DATE FROM (SELECT INV_ID, REG_NO, INV_DATE, ROW_NUMBER() OVER (PARTITION BY REG_NO ORDER BY INV_DATE DESC) RN FROM A ) WHERE RN<3 ORDER BY REG_NO, INV_DATE DESC
-
Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.
I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?
Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.
-
I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.
Ihab El-Sayed
published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...
-
I tried to download Adobe Premier on my Macbook Pro and it says I don't have enough room. How much room do I need? If I use the cloud version, how much room do I need?
Mac OS
- Processor Intel multicore with 64-bit support
- Mac OS X v10.9 or v10.10
- 4 GB of RAM (8 GB recommended)
- 4 GB of disk space available for installation. additional space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
- Additional space required for preview files and other files to work (10 GB recommended)
- 1280 x 800 display
- Hard drive 7200 RPM (multiple fast disks configured in RAID 0 recommended)
- QuickTime 7.6.6 software required for QuickTime features
- In option: GPU card Certified Adobe for GPU acceleration
- Recording and Internet connection are necessary for activation of the software required, validation of subscriptions, online access to services *.
-
I installed Adobe elements 12 update to 6 items. I need to use the save for Web function, but it is grayed. I tried to reinstall 12 items three times where it was missing something, but this has not solved the problem and enemy Save Web feature is always gray on. How can I get this feature too much work. I contacted the home and they have happened to you. I have 20 minutes to make a customers web work and if I don't work (about £500). Please advise/help.
You are on the Expert tab in the editor?
-
How can I upload photos using an a Sony Mavica Floppy? I tried to use the file and nothing came up... help
How can I upload photos using an a Sony Mavica Floppy? I tried to use the file and nothing came up... help
===============================
I used to have a Mavica and after insertion
the floppy drive... I want to go... My computer and
the reader has to view the photos, click left.The following forum might be useful:
Exchanging information Mavicahttp://forums.mavican.org/viewforum.php?f=16 John Inzer - MS - MVP - Digital Media Experience
-
When using the merge and when to use updated
Hi friends,
Given the best performance... purpose of this discussion is when we should use statement UPDATE and when we should use MERGE statement in oracle update of thousands of records.
Kindly Guide.
Kind regards
Himanshu
Hello
Looking for a couple to a few rules that you can use to decide whether to use the MERGE or UPDATE, without actually testing two meanings?
If so, use MERGE when
(1) (sometimes) need to add new lines
(2) it is simpler. This includes special cases
(2A) an UPDATE statement uses a subquery in the SET clause and then (mostly) repeats the same subquery in the WHERE clause
(2B) you want to use the analytical functions or CONNECT BY in a subquery
These rules are NOT guaranteed to work in all situations.
Kimmy says:
Hello
... My requirement is only UPDATED records about 200 to 500K (NOT followed by update of insertion).
So the rule (1) above does not apply in this case.
What I observed in the update using a MERGE statement and UPDATE is:
Update with the MERGER was faster however explain the bytes consumed to the query plan MERGE has been compared more update.
Use the tool that works best for your needs. If users are complaining that something shows more bytes used in a plan to explain, so maybe it's a reason for the UPDATE.
Where I work, where is the fastest is usually more important.
In addition, I want to get clearity
1. "if I should use MERGE if I need to update recrods using the unique table" as shown below: OR update will be good to use in this case:
MERGE INTO MKT_DATA inmkt
C using (SELECT Customer_Code, region, State OF CUSTOMER_DATA)
ON (inmkt. Distributor_Code = c.Customer_Code AND inmkt. DISTRIBUTOR_CODE IS NOT NULL)
WHEN MATCHED THEN
Updated the inmkt VALUE. Distributor_Region = c.Region,
inmkt. C.State = Distributor_Province;
UPDATE MKT_DATA inmkt
SET (inmkt. Distributor_Region, inmkt. Distributor_Province) =
(SELECT c.Region, c.State OF CUSTOMER_DATA c
WHERE c.Customer_Code = inmkt. Distributor_Code)
WHERE inmkt. DISTRIBUTOR_CODE IS NOT NULL;
2 statements above are not equivalent.
The UPDATE statement changes all the lines in the table mkt_data that have a distributor_code, this distributor_code be in the table customer_data or not.
You want something that is equivalent to the MERGE statement, you can use:
UPDATE MKT_DATA inmkt
SET (inmkt. Distributor_Region, inmkt. Distributor_Province) =
(SELECT c.Region, c.State
OF CUSTOMER_DATA c
WHERE c.Customer_Code = inmkt. Distributor_Code
)
WHERE THERE ARE
(SELECT 1
CUSTOMER_DATA C2
WHERE the c2. Customer_Code = inmkt. Distributor_Code
)
;
It basically uses the same auxiliary request 2 times (article 2 (a), so I would use MERGE if these are the results I wanted.
If you have a foreign key constraint, which ensures that each distributor_code in mkt_data will match a line in customer_data, then the 2 statements above will produce the same results. In this case, I find the UPDATE statement simpler and probably use it rather than MERGE.
2. to Updating huge amount of records MERGER must be used instead of update?
I don't know of all short reign as the "use X whenever you have more than 100,000 lines".
3. If in the update, I need to use several tables then I have to use MERGE?
MERGE IN MKT_DATA2 t
WITH THE HELP OF)
SELECT DISTINCT srt. Sales_Id, tmkt. Cust_Code, srt. PRODUCT_CENTER
OF srt, CUSTOMER_DATA c, MKT_DATA2 tmkt SALESTERR_PL
WHERE tmkt.state_Id = 10423
AND tmkt. Business = 'MARKETING'
AND c.CUST_CODE = tmkt. Cust_Code
AND c.Rollup_Code = srt. CUST_CODE
AND srt. PRODUCT_CENTER = tmkt.PL
) d
WE (t.state_Id = 10423
AND t.BA = 'MARKETING'
AND t.Cust_Code = d.Cust_Code
AND t.PL = d.PRODUCT_CENTER
AND t.Cust_Code IS NOT NULL
)
WHEN MATCHED THEN
UPDATE SET t.Sales_Id = d.Sales_Id;
UPDATE MKT_DATA2 tmkt
SET Sales_Id = (SELECT SALES_ID OF SALESTERR_PL srt
WHERE the srt. CUST_CODE = (SELECT ROLLUP_CODE FROM CUSTOMER_DATA c
WHERE c.CUSTOMER_CODE = tmkt. Cust_Code)
AND srt. PRODUCT_CENTER = tmkt.PL)
WHERE business = 'MARKETING'
AND state_Id = 10423;
Once again, those who are not equivalent. The UPDATE statement can change more lines than the MERGE statement.
In addition, you can use the MERGE statement:
MERGE IN MKT_DATA2 t
WITH THE HELP OF)
SELECT DISTINCT srt. Sales_Id, tmkt. Cust_Code, srt. PRODUCT_CENTER
OF srt, CUSTOMER_DATA c, MKT_DATA2 tmkt SALESTERR_PL
WHERE tmkt.state_Id = 10423
AND tmkt. Business = 'MARKETING'
AND c.CUST_CODE = tmkt. Cust_Code
AND c.Rollup_Code = srt. CUST_CODE
AND srt. PRODUCT_CENTER = tmkt.PL
) d
WE (t.Cust_Code = d.Cust_Code
AND t.PL = d.PRODUCT_CENTER
)
WHEN MATCHED THEN
UPDATE SET t.Sales_Id = d.Sales_Id
WHERE t.state_Id = 10423
AND t.BA = 'MARKETING'
- AND t.Cust_Code IS NOT NULL - does not need, said subquery 'c.CUST_CODE = tmkt. Cust_Code ".
;
If you would care to publish the sample data, I was able to test this.
4. when the UPDATE is preferred over the MERGER?
In simple cases, including situations where all you need to know are on the line itself, such as:
UPDATE emp
SET sal = sal * 1.05
Job WHERE NOT IN ('MANAGER', 'PRÉSIDENT')
;
-
After update to 7.0.1 I can't always use the tab key to move to the next field or use the shift and tab key to move to the previous field in forms. He has always worked in previous versions and it is essential for my type of work. Does anyone know of a setting to enable this? If this is not the case, can the developers of Firefox is working on this issue (please). I love Firefox but desperately need this feature to work properly. Thank you!
No - because it works in Mode safe mode, this means an extension is probably to blame. See http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
-
My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse. It runs OSX Mountain Lion (not sure which version) and is a model 27 inches.
have you tried to change the batteries in the mouse?
-
Why can I not see the files I back up by using the backup and restore of Vista
Can someone help me? I have a Dell Inspiron 1525 and implemented backup and restore feature Vista so that every Sunday he automatically backs up my computer to my external drive. I was on the computer when he said it starts up and that upward was completed successfully. I assummed everything was fine until today when I show my father my drive external and noticed that none of the backup of files were there... or at least I did not see them. The only files on the disk were the ones I put manually on here from my old computer. I then ran a manual upward using Vista and again it says backup successfully completed. I then watched the external hard drive and once again no new files. The strange thing is the back up and restore program shows all the dates he has saved and also allows me to restore files from the back to the top. To do this, I deleted a file I didn't really need out of my hard drive and then is gone to restore program and found the file and restored. Problem is that the program does not say where he makes the file from. What is going on? Are backup files of certain types of hidden file I don't see unless I use the backup and restore program under vista? I am currently running Vista Home Premium on a 32 bit system and the external hard drive I have is a Western Digital My Book Essential Edition.
Windows backup is stored in a folder with the same name as your computer. Open a command prompt and type echo %ComputerName% or startup, right-click on computer, properties. You should see that % ComputerName % folder on your external drive, and in this context, a backup set. Steve Hebert - MVP Microsoft Internet Explorer
-
my pc by using the keyboard and mouse of windows7 freeze after 20 minutes of inactivity
my pc by using the keyboard and mouse of windows7 freeze after 20 minutes of inactivity
Hi paulbartolotta,
Welcome to the Microsoft community. According to the description of the problem, the keyboard and the mouse gel. Provide the following information:
· Did you do changes on the computer before the show?
· You get the error message?
· What is the brand and model of the keyboard and mouse?
I'll help you with this problem. I suggest you follow these methods.
Method 1: Run the tool and troubleshooting hardware devices.
Method 2: Try to use the mouse/keyboard to a different USB port and verify.
Method 3: Try using the mouse/keyboard on a different computer.
Method 4: Update the latest drivers/software for the mouse/keyboard.
Updated a hardware driver that is not working properly
I hope this helps. Let us know if you need help with windows.
Maybe you are looking for
-
'New' application iBooks will not transfer pdf to iPad files
OK, people, I'm just an order of jacked-up at McDonald's away from a stroke... When I went to sync my iPad this morning, I found adding .pdf files to my library on 'Books' iTunes no longer works, because Apple has placed all these reading materials i
-
How do you create a sum of hour, minute column and multiple by a dollars an hour? For example,. 10 h in the B1:B22 column $30 / h in C1
-
I have a 8600 Officejet all-in-one Windpows 8. I'm trying to scan a document, but the system says that the scan used sub and I should wait until the operation is complete. There is nothing being analyzed, and I don't know how to cancel the scan opera
-
I forgot the password and also now locked shows turn off 78869665
I have a laptop HP 7 windows. I forgot my password and now locked in a touch of deactivation: 78869665. I have no recovery disk. then I'll do two thing unlock and remove the passwords. The blue screen I get ask Administor enter password or power on
-
If I try and open an email with an attachment I get an error message: this file does not have a program associated with it for performing this action. create an association in the folders option control panel. Once there, I don't know where to go