Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2023, 10:21 PM
stricky stricky is offline vlookup function between 2 workbook & logic Windows 10 vlookup function between 2 workbook & logic Office 2019
Novice
vlookup function between 2 workbook & logic
 
Join Date: Jun 2023
Location: Bangladesh
Posts: 23
stricky is on a distinguished road
Default vlookup function between 2 workbook & logic

hi everyone,


in test1 folder "Op List FEB-23 TEST 3.xlsx" is the main file. its data comes from the data folder files. test folder is in desktop location.


So here is the situation, i made the "Op List FEB-23 TEST 3" file to collect data from data folder according to date of files and sheet. "Op List FEB-23 TEST 3" sheet-01-02-23 data file 01-02-23-BB.xlsx, sheet-02-02-23 data file 02-02-23-BB.xlsx so far it works.


In cell#F7 it collected data from "01-02-23-BB" A1 M/C cell#O9. as you can see it has 2 different production data 195.5 & 100. so in cell#F7 i want sum this number since this two number is from same M/C. i tried
Quote:
={SUM(VLOOKUP(C7,'[01-02-23-BB.xlsx]DELEV-B'!$C$8:$O$771,{13},0))}
didnt work since its in same column number. how do i sum it?


2nd in cell#F18 for M/C a12 there is 0 production. but in "01-02-23-BB" there is 244 kg production. why is it showing 0?


There the quite a few situations like this in this.


Quote:
I cannot change anything in data files. they are raw data.
Attached Files
File Type: zip test1.zip (1.40 MB, 2 views)
Reply With Quote
  #2  
Old 07-05-2023, 02:59 AM
xor xor is offline vlookup function between 2 workbook & logic Windows 11 vlookup function between 2 workbook & logic Office 2021
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

=SUMIFS('[01-02-23-BB.xlsx]DELEV-B'!$O$9:$O$568,'[01-02-23-BB.xlsx]DELEV-B'!$C$9:$C$568"A 1")
Reply With Quote
  #3  
Old 07-05-2023, 07:04 AM
stricky stricky is offline vlookup function between 2 workbook & logic Windows 10 vlookup function between 2 workbook & logic Office 2019
Novice
vlookup function between 2 workbook & logic
 
Join Date: Jun 2023
Location: Bangladesh
Posts: 23
stricky is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
=SUMIFS('[01-02-23-BB.xlsx]DELEV-B'!$O$9:$O$568,'[01-02-23-BB.xlsx]DELEV-B'!$C$9:$C$568"A 1")
@xor
this function seems wrong i
Quote:
added ,
at last. still error.
Attached Images
File Type: jpg ERROR.jpg (100.3 KB, 16 views)
Reply With Quote
  #4  
Old 07-05-2023, 07:28 AM
xor xor is offline vlookup function between 2 workbook & logic Windows 11 vlookup function between 2 workbook & logic Office 2021
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If I open 01-02-23-BB first it works fine for me (with comma as you mention).
Reply With Quote
  #5  
Old 07-05-2023, 07:14 PM
stricky stricky is offline vlookup function between 2 workbook & logic Windows 10 vlookup function between 2 workbook & logic Office 2019
Novice
vlookup function between 2 workbook & logic
 
Join Date: Jun 2023
Location: Bangladesh
Posts: 23
stricky is on a distinguished road
Default

i have to change M/C name manualy for every M/C for each sheet (158 times). there are 30 sheets. i have solved this by changing "M/C name" to cell #.
Quote:
=SUMIFS('[01-02-23-BB.xlsx]DELEV-B'!$O$9:$O$568,'[01-02-23-BB.xlsx]DELEV-B'!$C$9:$C$568,C7)


but i have to 1st open data files and work? there are 58-62 files originally in there. how do i work around that?
Reply With Quote
  #6  
Old 07-05-2023, 10:48 PM
xor xor is offline vlookup function between 2 workbook & logic Windows 11 vlookup function between 2 workbook & logic Office 2021
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Structure your data better. Your structure is not suitable for efficient formula building.
For example use database format that is no empty columns, no empty rows such as row 46, 81 etc. in 01-02-23-BB, no totals such as 45, 80, header rows such as 47, 82 etc. Then you might be able to use SUMPRODUCT instead of SUMIFS and so not required to open the data files. You might also want to take a look at Power Query.
Reply With Quote
  #7  
Old 07-06-2023, 12:02 AM
stricky stricky is offline vlookup function between 2 workbook & logic Windows 10 vlookup function between 2 workbook & logic Office 2019
Novice
vlookup function between 2 workbook & logic
 
Join Date: Jun 2023
Location: Bangladesh
Posts: 23
stricky is on a distinguished road
Default

that cant be done. as i mentioned in my 1st post "IT CANNOT BE CHANGED". it was build by a only computer literate person available in company back at 2008. its in print oriented format for official use. so that even idiots can understand basic office workflow. then at 2014 they implemented a shitty ERP. if the F**K** ERP did its job i wouldnt be in this much trouble. even IT dept runs by ass+holes.
Reply With Quote
  #8  
Old 07-06-2023, 01:44 AM
xor xor is offline vlookup function between 2 workbook & logic Windows 11 vlookup function between 2 workbook & logic Office 2021
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I am afraid I can't help then.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel VBA Vlookup function help Mark.Christian Excel Programming 1 07-19-2016 11:32 AM
vlookup function between 2 workbook & logic VLOOKUP is dependent up IF function dmccrar Excel 2 09-14-2014 09:51 AM
vlookup function between 2 workbook & logic Using If and Vlookup Function jassi.mgg@gmail.com Excel 5 03-16-2014 01:47 AM
Using vlookup with the IF function CSzoke Excel 11 06-01-2013 10:56 PM
vlookup function between 2 workbook & logic Is this possible using the Vlookup or any other function? Delson Excel 4 02-08-2010 01:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft