User Profile
SamFares
Brass Contributor
Joined May 29, 2019
User Widgets
Recent Discussions
- 3.9KViews0likes4Comments
Re: Vlookup, Match, Index
Hans, Sorry I didn't see the value at the bottom. Since this value 14231 has a corresponding deflection value=0, how can i exclude it? I'd like those functions index and match function to to look up values within the range where both the total force (column H) and the corresponding Actual Deflection( column I) have nonzero values. Is it doable? i believe this will avoid the error. Thanks, Sam3.9KViews0likes6CommentsRe: Vlookup, Match, Index
Thank you so much, Hans! I made the change and it worked. 1. You used row H1728 as an upper limit, Is there a way to go up to the last value in column "I" that is a non zero. So in this case it will be row 1063. This value is a variable. 2. The other issue that I ran into is in column N in "Calcs-P-Delta" sheet( I renamed the sheet). In row 28, I don't see the value in cell K28=14.2314 or 14,231 present in sheet J5-2 column H. i was trying to investigate why "Actual delta" in column N of sheet "Calcs-P-Delta" is zero in row 28. My equation might need correction. Please see attached. Thank you, Sam3.8KViews0likes8CommentsVlookup, Match, Index
Hello, in the attached excel sheet, i am trying to improve it. In sheet "Calcs-P-Delta", Cells K25-K42, for each cell, it finds the in sheet J5-2 Column H, the closest value to the value in column E of "Calcs-P-Delta". For some reason in row 37 of "Calcs-P-Delta", it cant find a value that is equal or close to 29686. You see a value of 29.686 in row 37, but in my equation I multiply the value by 1000 because the values in J5-2 sheet has the 1000 built into the values. I am not sure how to fix the lookup or if there is a better way or function to do the . I appreciate any assistance! Regards, SamSolved4.3KViews0likes10Comments- 5.2KViews0likes0Comments
Re: Bootstrap
Hans, I am attaching the actual Excel Sheet that shows 30 gas releases data. Each release is an experiment on its own. The gas concentrations in the air is a measured with a device and it reads it at different relative times which is shown in A26-A6025. At each relative time you will see the measurements for each relative time. In this experiment 30 samples per relative time is not enough. i need to generate resamples for each row(relative time) for up to 500. I am not sure if you can have the VBA code ask the question how many resamples i need so i can type the number<=500. if i decide to change the numbers of resamples, have it delete the existing and regenerate new resamples based on the new resampling number. this is sheet has the data from lab experiment. it starts from A26:AF26 and up to row 6025. Thanks a lot! Sam5.2KViews0likes2CommentsRe: Bootstrap
Hi Hans, I attached two documents. Let me try again. In my lab tests, i have 30 gas releases in the wind tunnel. For each gas release the the measurement of concentration vs time goes up Excel row 6025. i'd like to generate 500 resamples for each row. Each row represents one time, but we did 30 releases( experiments). Please let me know if you have any questions. Thanks, Sam5.3KViews0likes4CommentsRe: Bootstrap
Hi Hans, Thank you so much for your help. In the attached sheet that I sent you earlier, I created a tab "Bootstrap (2)". The original samples are in rows numbered(1-3), but each sample row is a separate or independent row. So, I numbered them into rows number 1-3 (red, green, blue). But in reality I have 6000 independent rows in my lab test data Excel sheet. How do you make VBA code so it does the resampling for each row independently for the three rows? I can fix the VBA code once i see how you do it? Regards, Sam5.3KViews0likes6CommentsRe: VBA code to remind the Excel sheet user to run the Macro
Hello Hans, If I make changes in the Excel sheet and I "Save" the sheet before exiting then the reminder macro to run the DesignMacro message doesn't pop on the screen. It works fine if I try to exit without saving. How do you account for that condition so the message window shows up when i save or exit. Thanks, Sam1.7KViews0likes2CommentsRe: VBA code to remind the Excel sheet user to run the Macro
Hello Hans, I tried it but I am not sure what I am doing wrong. The design Macro is called "Calculate_Studs_CP". So if a user make any changes in "CJ Design" or "Addl Composite Stage Loads" tabs, and the user wants to save or exit to prompt him to run "Calculate_Studs_CP". Please see attached sheet. Thanks, Sam1.8KViews0likes2CommentsVBA code to remind the Excel sheet user to run the Macro
Hello, I have created a macro for design in an excel sheet that has two tabs in it. What is the VBA code if a user make any input changes to remind him in the end before he exists to run the design macro? Instead of selecting certain cells for changes, is there a way to make it any change in either tab? Thanks, SamSolved2KViews0likes8CommentsRe: Need a Macro for the following steps.
Hello Yea_So Each increment is 0.1. So you are incrementing up from 0.1 to 0.9. There is no basis to the size of the increment. I can choose a different increment. Did i answer your question? If for example C11 is blank just set the increment value to 0.5 for that mark. Then go to the next mark. Thanks!1.3KViews0likes1CommentNeed a Macro for the following steps.
Hello All, Please see attachments. I just revised the attached Excel sheet. I’d like a macro to do the following: If for a given Mark in column A of “Addl Composite Stage Loads” tab, the value in the corresponding cell “C row #” in “Addl Composite Stage Loads” is zero or blank, then skip steps 2 and 3 ( below), and go to the next Mark, and if there is a value in “C row #” greater than zero then run all the steps 2 and 3. The value in cell “G6” in “Addl Composite Stage Loads” tab will be incremented from 0.1,0.2,0.3,….,0.9. The result in cell “B4” in “CJ Design” tab will be copied and place in the corresponding cell in C4 thru K4. So if the increment value is 0.1 it will be placed in C4 if the increment value is 0.2 it will be placed in D4 if the increment value is 0.3 it will be placed in E4 and so on. Repeat the above steps for the next joist Marks Thank you,Sam1.4KViews0likes3Comments
Recent Blog Articles
No content to show