Search results

  1. shamimarita

    [Solved] count number of occurances of a given year in column c across multiple worksheets

    Hello kajohnson9, The #VALUE! error typically occurs if the function tries to process invalid or incompatible data. Here are steps to resolve it: Verify Data in Column C: Ensure all cells in Column C contain valid dates that Excel recognizes. Non-date entries can cause errors. Error Handling...
  2. shamimarita

    [Solved] Customer Summary Bills Ageing Report Through Excel Formula

    Hello Muh, To calculate the aging report from Sheet 1, you can use the following formulas: Balance Amount: =SUMIFS(C2:C10, B2:B10, "DRAGON PVT LTD") To get the balance per customer, change the ranges for other customers. Aging buckets: For <30 Days: =SUMIFS(C2:C10, B2:B10, "DRAGON PVT LTD"...
  3. shamimarita

    [Solved] Weekly Sum of Production in Excel

    Hello Faisal, To achieve a gradual daily total, you can use this modified formula, assuming your dates are in Column A and production in Column B: =IF(TEXT(A2,"dddd")="Sunday",B2, C1 + B2) Here’s how it works: Place this formula in Column C (starting from C2) and drag it down. For each week...
  4. shamimarita

    [Solved] count number of occurances of a given year in column c across multiple worksheets

    Hello kajohnson9, Your VBA function has a few issues causing the error: Undefined Variable: The variable ws is not initialized or set to any worksheet. Error in syear Assignment: ws.Range("F" & ActiveCell.Row) references ws, which isn't defined, leading to "Error 91." Update the function as...
  5. shamimarita

    [Solved] Format Alternate Rows Based on Conditions

    Hello Era, Thank you for following up, and I'm glad you found a solution that works for you! A helper column is a great approach when working with complex conditional formatting, especially when you must alternate colors based on multiple conditions. Your method with the helper column (Column...
  6. shamimarita

    [Solved] stuck in excel vba

    Hello, To search across multiple sheets with varying columns in Excel VBA, follow these steps: Loop Through Sheets: Use a For Each loop to go through all sheets where you need to search. Identify Columns: Check for column positions dynamically. If column positions vary, you can use Find or...
  7. shamimarita

    [Solved] Format Alternate Rows Based on Conditions

    Hello Era, Thank you for your response and the screenshot—it’s very helpful. Let’s adjust the approach: New Formula: Try this formula for alternating colors based on unique combinations of Employee and Supervisor: =MOD(SUMPRODUCT(($E$2:$E2=$E2)*($D$2:$D2=$D2)), 2) = 0 This formula alternates...
  8. shamimarita

    [Solved] Format Alternate Rows Based on Conditions

    Hello Era, You can use conditional formatting with a custom formula in Excel to accomplish this. Here’s how you can set it up: Select the cell range, including both the Employee and Supervisor columns. Go to Home >> Conditional Formatting >> select New Rule. Choose "Use a formula to determine...
  9. shamimarita

    [Solved] weight loss graph

    Hello, To adjust your weight loss chart, you must change the y-axis values from going down to zero to reaching your goal weight. Here’s how: First, set up a new column for your Goal Weight next to your Measured Weight column. Enter your goal weight in each row of this new column. In your...
  10. shamimarita

    [Solved] Filter questions

    Hello Angleright, The issue you're facing likely stems from how Excel is interpreting the values in your reference column "L" and the lookup cell R18. Even when formatted as text, Excel sometimes treats purely numeric entries differently from alphanumeric ones in certain functions. Here’s a...
  11. shamimarita

    [Solved] stuck in excel vba

    Hello Hannibal Lecter, The issue likely arises from the Last_Row and Last_Column lines in the SearchMultipleSheets code. Here’s how to troubleshoot: Adjust Last_Row and Last_Column Calculation: Ensure these lines calculate properly if your data extends to or past the specified range. You may...
  12. shamimarita

    [Solved] Formatting issue in excel

    Hello Faisal, It seems the user is facing an issue with formatting and printing multiple Excel sheets simultaneously. To apply the same formatting across all sheets, s Select all sheets >> right-click any sheet tab >> choose Select All Sheets. Make formatting adjustments on the active sheet...
  13. shamimarita

    [Solved] Count Cells in a row based on Color

    Thank you for sharing the file. I can certainly provide guidance on using the Name Manager option or other potential workarounds, but implementing a complete solution would usually require VBA due to the complexity of the task. Since this type of customization goes beyond Excel’s built-in...
  14. shamimarita

    [Solved] Count Cells in a row based on Color

    Hello Faisal, To calculate the sum of values in Column A based on font color without an additional column, you can try this approach with a defined name range and the SUMPRODUCT function in Excel. Here’s a step-by-step solution: Define a Named Range Using GET.CELL: Since GET.CELL is an old...
  15. shamimarita

    [Solved] Count Cells in a row based on Color

    Hello Faisal, Currently, Excel doesn't have a built-in function to count cells based on color without using VBA. However, the VBA solution provided is a great way to achieve this functionality. If you're looking for alternatives, consider using conditional formatting to visually track your...
  16. shamimarita

    [Solved] split excel file into multiple excel files, based on one criteria

    Glad to hear that and you are most welcome. Keep learning Excel with ExcelDemy!
  17. shamimarita

    [Solved] Creating a roster

    Hello Khajabhai1, You can use Excel's IF function to assign week-offs based on the shift type. For Shift S1 (Sat and Sun off): =IF(A2="S1", "Sat, Sun", IF(A2="S2", "Fri, Sat", "")) If you also want to manage leaves, you can add another column to track leave days and incorporate it into your...
  18. shamimarita

    [Solved] Shift roster in Excel

    Hello, To set up the full schedule, you can create a repeating shift pattern using Excel’s MOD() and IF() functions. You can use =MOD(ROW(A1)-1,6) to cycle through numbers 0-5. Apply IF() to assign shifts: Day shift: =IF(MOD(ROW(A1)-1,6)<4,"Day","Off") Night shift...
  19. shamimarita

    [Solved] split excel file into multiple excel files, based on one criteria

    Hello IoanaStanescuNN To accomplish the task of splitting the master file into multiple Excel files based on the salesperson's email address, you can use Excel VBA to automate this process. Here's a simple VBA code to help you achieve this: Press Alt + F11 to open the VBA editor. Insert a new...
  20. shamimarita

    [Solved] Excel rows issue formulas in project/job tracker database

    You're most welcome! 😊 I'm glad I could help. Let me know if you have any more questions or need further assistance! Let's keep helping each other to build a great Excel community!

Online statistics

Members online
2
Guests online
212
Total visitors
214

Forum statistics

Threads
459
Messages
2,056
Members
2,805
Latest member
dauhieumangthaituandau
Back
Top